mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Player: removed useless condition for chunk ordering
This just causes it to attempt to spam chunk orders prior to the player spawning. It won't succeed, because the render distance is zero. The other time this could occur is when teleporting into an unloaded chunk, but it's not necessary to continually spam chunk orders in that case, especially since chunk orders are done on teleport anyway.
This commit is contained in:
parent
c464d39401
commit
364d278714
@ -1806,7 +1806,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
return;
|
||||
}
|
||||
|
||||
if($this->nextChunkOrderRun-- <= 0 or $this->chunk === null){
|
||||
if($this->nextChunkOrderRun-- <= 0){
|
||||
$this->orderChunks();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user