From 80d4eeaa3c7edbb4fb2c27784a341b0fbccfa2a6 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 29 Jun 2019 11:14:34 +0100 Subject: [PATCH] fix some occurrences of terrain truncation during generation --- src/pocketmine/world/SimpleChunkManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/world/SimpleChunkManager.php b/src/pocketmine/world/SimpleChunkManager.php index 67d06a8d8..35cab0f03 100644 --- a/src/pocketmine/world/SimpleChunkManager.php +++ b/src/pocketmine/world/SimpleChunkManager.php @@ -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; }