mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
small fix
This commit is contained in:
parent
eef7b914dd
commit
f220874371
1 changed files with 1 additions and 1 deletions
|
|
@ -457,7 +457,7 @@ class Player{
|
|||
}
|
||||
|
||||
$c = key($this->chunksOrder);
|
||||
$d = $this->chunksOrder[$c]; //not sure why was ?? placed here
|
||||
$d = $c != null ? $this->chunksOrder[$c] : null; //not sure why was ?? placed here
|
||||
if($c === null or $d === null){
|
||||
$this->server->schedule(40, [$this, "getNextChunk"]);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue