Fixed random block updates not firing

This commit is contained in:
Shoghi Cervantes 2014-11-01 20:26:13 +01:00
parent 95a5ca7889
commit 2803a38fd1

View File

@ -571,7 +571,7 @@ class Level implements ChunkManager, Metadatable{
foreach($this->players as $player){
$x = $player->x >> 4;
$z = $player->x >> 4;
$z = $player->z >> 4;
$index = "$x:$z";
$existingPlayers = max(0, isset($this->chunkTickList[$index]) ? $this->chunkTickList[$index] : 0);