From a6237958e82e7df1d6fa7b3295cf100965067d2b Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 27 Jan 2019 20:41:47 +0000 Subject: [PATCH] Level: fix another crashy edge case in chunk ticking this also removes a bias towards the chunk that the player is on, because this makes such chunks tick faster than adjacent chunks. --- src/pocketmine/level/Level.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pocketmine/level/Level.php b/src/pocketmine/level/Level.php index 579569202..ea0f18e0f 100644 --- a/src/pocketmine/level/Level.php +++ b/src/pocketmine/level/Level.php @@ -970,8 +970,6 @@ class Level implements ChunkManager, Metadatable{ $chunkX = (int) floor($loader->getX()) >> 4; $chunkZ = (int) floor($loader->getZ()) >> 4; - $index = Level::chunkHash($chunkX, $chunkZ); - $chunkTickList[$index] = true; for($chunk = 0; $chunk < $chunksPerLoader; ++$chunk){ $dx = mt_rand(-$randRange, $randRange); $dz = mt_rand(-$randRange, $randRange);