fix some occurrences of terrain truncation during generation

This commit is contained in:
Dylan K. Taylor 2019-06-29 11:14:34 +01:00
parent 0d769aab48
commit 80d4eeaa3c

View File

@ -59,7 +59,7 @@ class SimpleChunkManager implements ChunkManager{
}
public function setBlockAt(int $x, int $y, int $z, Block $block) : bool{
if($this->terrainPointer->moveTo($x, $y, $z, false)){
if($this->terrainPointer->moveTo($x, $y, $z, true)){
$this->terrainPointer->currentSubChunk->setFullBlock($x & 0xf, $y & 0xf, $z & 0xf, $block->getFullId());
return true;
}