[Fix] unbound biomes are valid
This commit is contained in:
parent
1186e962f6
commit
5bf8c4d669
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ public class BiomePicker {
|
|||
|
||||
this.key = biomeRegistry.getResourceKey(biomeRegistry.get(bclBiome.getID())).orElse(null);
|
||||
this.biome = key != null ? biomeRegistry.getOrCreateHolderOrThrow(key) : null;
|
||||
this.isValid = key != null;
|
||||
this.isValid = key != null && biome != null && biome.isBound();
|
||||
bclBiome.forEachSubBiome((b, w) -> {
|
||||
if (isAllowed(b))
|
||||
subbiomes.add(create(b), w);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue