mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Fixed random block updates not firing
This commit is contained in:
parent
95a5ca7889
commit
2803a38fd1
@ -571,7 +571,7 @@ class Level implements ChunkManager, Metadatable{
|
|||||||
|
|
||||||
foreach($this->players as $player){
|
foreach($this->players as $player){
|
||||||
$x = $player->x >> 4;
|
$x = $player->x >> 4;
|
||||||
$z = $player->x >> 4;
|
$z = $player->z >> 4;
|
||||||
|
|
||||||
$index = "$x:$z";
|
$index = "$x:$z";
|
||||||
$existingPlayers = max(0, isset($this->chunkTickList[$index]) ? $this->chunkTickList[$index] : 0);
|
$existingPlayers = max(0, isset($this->chunkTickList[$index]) ? $this->chunkTickList[$index] : 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user