Keep region biomes when picking a colour

Search a copy, not the cached list.
This commit is contained in:
piexel committed 2026-10-21 18:39:43 +02:00
1 parent 29942fa1c2
commit 97dfb63741
1 file changed
+1 -1
@@ -380,7 +380,7 @@ public class IrisRegion extends IrisRegistrant implements IRare {
Random rand = new Random(getName().hashCode() + getAllBiomeIds().hashCode());
RandomColor randomColor = new RandomColor(rand);
KList<IrisBiome> biomes = getRealLandBiomes(dataProvider);
KList<IrisBiome> biomes = new KList<>(getRealLandBiomes(dataProvider));
while (biomes.size() > 0) {
int index = rand.nextInt(biomes.size());