mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 05:34:54 +00:00
Filling a chunk triggers the block change saving algorithm
This commit is contained in:
parent
7c3b8807e9
commit
424dba2fdd
@ -261,6 +261,7 @@ class PMFLevel extends PMF{
|
|||||||
}
|
}
|
||||||
$index = $this->getIndex($X, $Z);
|
$index = $this->getIndex($X, $Z);
|
||||||
$this->chunks[$index][$Y] = str_repeat("\x00", 8192);
|
$this->chunks[$index][$Y] = str_repeat("\x00", 8192);
|
||||||
|
$this->chunkChange[$index][$Y] = 8192;
|
||||||
$this->locationTable[$index][0] |= 1 << $Y;
|
$this->locationTable[$index][0] |= 1 << $Y;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user