Fix setBiome with invalid biome

This commit is contained in:
Jesse Boyd 2018-07-27 13:26:32 +10:00
parent f5f13ddbe3
commit 4d08c1229b
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -84,7 +84,9 @@ public class FaweLocalBlockQueue extends LocalBlockQueue {
lastBiome = biome; lastBiome = biome;
this.biome = Biomes.findBiomeByName(biomes, biome, reg); this.biome = Biomes.findBiomeByName(biomes, biome, reg);
} }
if (this.biome != null)
return IMP.setBiome(x, z, this.biome); return IMP.setBiome(x, z, this.biome);
return false;
} }
@Override @Override