Remove useless sendNextChunk() condition

if the load queue is empty, it makes no difference whether we're spawned or not.
This commit is contained in:
Dylan K. Taylor 2017-11-17 13:24:31 +00:00
parent ffa9a91a95
commit 0fdceb6736

View File

@ -1721,7 +1721,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$this->orderChunks();
}
if(count($this->loadQueue) > 0 or !$this->spawned){
if(count($this->loadQueue) > 0){
$this->sendNextChunk();
}