Fixed population artifacts always generating in the bottom subchunk, closes #2538

This commit is contained in:
Dylan K. Taylor 2018-11-26 14:29:06 +00:00
parent 20f0e344d6
commit 5024713291

View File

@ -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);
}
}