Fix setBiome with invalid biome
This commit is contained in:
parent
f5f13ddbe3
commit
4d08c1229b
@ -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);
|
||||||
}
|
}
|
||||||
return IMP.setBiome(x, z, this.biome);
|
if (this.biome != null)
|
||||||
|
return IMP.setBiome(x, z, this.biome);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user