mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-14 23:45:34 +00:00
Added index
This commit is contained in:
parent
95f2f347ff
commit
ae13512627
@ -207,6 +207,7 @@ class Level{
|
||||
|
||||
public function setBlockRaw(Vector3 $pos, Block $block){
|
||||
if(($ret = $this->level->setBlock($pos->x, $pos->y, $pos->z, $block->getID(), $block->getMetadata())) === true){
|
||||
$i = ($pos->x >> 4).":".($pos->y >> 4).":".($pos->z >> 4);
|
||||
if(!isset($this->changedBlocks[$i])){
|
||||
$this->changedBlocks[$i] = array();
|
||||
$this->changedCount[$i] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user