mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Remove useless condition
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user