mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
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:
parent
ffa9a91a95
commit
0fdceb6736
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user