mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 15:19:56 +00:00
Remove useless condition
This commit is contained in:
parent
82fd0e8d47
commit
390df00966
@ -2410,10 +2410,10 @@ class Level implements ChunkManager, Metadatable{
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$this->timings->syncChunkSendPrepareTimer->startTiming();
|
$this->timings->syncChunkSendPrepareTimer->startTiming();
|
||||||
|
|
||||||
$task = $this->provider->requestChunkTask($x, $z);
|
$task = $this->provider->requestChunkTask($x, $z);
|
||||||
if($task !== null){
|
$this->server->getScheduler()->scheduleAsyncTask($task);
|
||||||
$this->server->getScheduler()->scheduleAsyncTask($task);
|
|
||||||
}
|
|
||||||
$this->timings->syncChunkSendPrepareTimer->stopTiming();
|
$this->timings->syncChunkSendPrepareTimer->stopTiming();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user