mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-27 06:20:02 +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());
|
Random rand = new Random(getName().hashCode() + getAllBiomeIds().hashCode());
|
||||||
RandomColor randomColor = new RandomColor(rand);
|
RandomColor randomColor = new RandomColor(rand);
|
||||||
|
|
||||||
KList<IrisBiome> biomes = getRealLandBiomes(dataProvider);
|
KList<IrisBiome> biomes = new KList<>(getRealLandBiomes(dataProvider));
|
||||||
|
|
||||||
while (biomes.size() > 0) {
|
while (biomes.size() > 0) {
|
||||||
int index = rand.nextInt(biomes.size());
|
int index = rand.nextInt(biomes.size());
|
||||||
|
|||||||
Reference in new issue
Block a user