mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 03:51:37 +00:00
small things
This commit is contained in:
@@ -210,8 +210,8 @@ class Player{
|
||||
|
||||
$c = key($this->chunksOrder);
|
||||
$d = @$this->chunksOrder[$c];
|
||||
if($c === null){
|
||||
$this->server->schedule(50, array($this, "getNextChunk"));
|
||||
if($c === null or $d === null){
|
||||
$this->server->schedule(40, array($this, "getNextChunk"));
|
||||
return false;
|
||||
}
|
||||
unset($this->chunksOrder[$c]);
|
||||
|
Reference in New Issue
Block a user