Make sure Biomes with a parent are added to the set of possible biomes
This commit is contained in:
parent
fb65debd87
commit
70b3600072
1 changed files with 6 additions and 3 deletions
|
@ -174,12 +174,14 @@ public abstract class BCLBiomeSource extends BiomeSource implements BiomeSourceW
|
||||||
foundBCLBiome = true;
|
foundBCLBiome = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean didAdd = false;
|
boolean isPossible;
|
||||||
if (!bclBiome.hasParentBiome()) {
|
if (!bclBiome.hasParentBiome()) {
|
||||||
didAdd = pickerAdder.add(bclBiome, pickerEntry.getKey(), pickerEntry.getValue());
|
isPossible = pickerAdder.add(bclBiome, pickerEntry.getKey(), pickerEntry.getValue());
|
||||||
|
} else {
|
||||||
|
isPossible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (didAdd) {
|
if (isPossible) {
|
||||||
allBiomes.add(biomes.getHolderOrThrow(biomeEntry.getKey()));
|
allBiomes.add(biomes.getHolderOrThrow(biomeEntry.getKey()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -271,6 +273,7 @@ public abstract class BCLBiomeSource extends BiomeSource implements BiomeSourceW
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return defaultType;
|
return defaultType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue