mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
Fixed population artifacts always generating in the bottom subchunk, closes #2538
This commit is contained in:
parent
20f0e344d6
commit
5024713291
@ -75,7 +75,7 @@ class SimpleChunkManager implements ChunkManager{
|
||||
|
||||
public function setBlockIdAndDataAt(int $x, int $y, int $z, int $id, int $data) : void{
|
||||
if(($chunk = $this->getChunk($x >> 4, $z >> 4)) !== null){
|
||||
$chunk->setBlock($x & 0xf, $y & 0xf, $z & 0xf, $id, $data);
|
||||
$chunk->setBlock($x & 0xf, $y, $z & 0xf, $id, $data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user