mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
fix some occurrences of terrain truncation during generation
This commit is contained in:
parent
0d769aab48
commit
80d4eeaa3c
@ -59,7 +59,7 @@ class SimpleChunkManager implements ChunkManager{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function setBlockAt(int $x, int $y, int $z, Block $block) : bool{
|
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());
|
$this->terrainPointer->currentSubChunk->setFullBlock($x & 0xf, $y & 0xf, $z & 0xf, $block->getFullId());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user