Remove useless condition

This commit is contained in:
Dylan K. Taylor 2017-06-29 10:38:24 +01:00
parent 82fd0e8d47
commit 390df00966

View File

@ -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();
}