mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-22 08:07:42 +00:00
Keep region biomes when picking a colour
Search a copy, not the cached list.
This commit is contained in:
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());
|
||||
|
||||
Reference in new issue
Block a user