diff --git a/src/pocketmine/level/Level.php b/src/pocketmine/level/Level.php index 337b2e380..3f198c726 100644 --- a/src/pocketmine/level/Level.php +++ b/src/pocketmine/level/Level.php @@ -2410,10 +2410,10 @@ class Level implements ChunkManager, Metadatable{ continue; } $this->timings->syncChunkSendPrepareTimer->startTiming(); + $task = $this->provider->requestChunkTask($x, $z); - if($task !== null){ - $this->server->getScheduler()->scheduleAsyncTask($task); - } + $this->server->getScheduler()->scheduleAsyncTask($task); + $this->timings->syncChunkSendPrepareTimer->stopTiming(); }