mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed block updates not getting broadcasted
This commit is contained in:
@ -157,7 +157,7 @@ abstract class BaseChunk implements Chunk{
|
||||
}
|
||||
|
||||
public function setBlock($x, $y, $z, $blockId = null, $meta = null){
|
||||
$this->sections[$y >> 4]->setBlock($x, $y & 0x0f, $z, $blockId, $meta);
|
||||
return $this->sections[$y >> 4]->setBlock($x, $y & 0x0f, $z, $blockId & 0xff, $meta & 0x0f);
|
||||
}
|
||||
|
||||
public function getBlockId($x, $y, $z){
|
||||
|
Reference in New Issue
Block a user