add exteminated check to setBiome
This commit is contained in:
parent
59ecf5c6c1
commit
3e59edd36b
1 changed files with 2 additions and 0 deletions
|
@ -1795,6 +1795,8 @@ public final class WorldServer extends AWorldServer {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBiome(BlockPos pos, Biome biome) {
|
public void setBiome(BlockPos pos, Biome biome) {
|
||||||
|
if(this.exterminated)
|
||||||
|
return;
|
||||||
ChunkServer chunk = this.getChunk(pos);
|
ChunkServer chunk = this.getChunk(pos);
|
||||||
if(chunk == null || !chunk.isLoaded())
|
if(chunk == null || !chunk.isLoaded())
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue