mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
made it work with php5 agagin
This commit is contained in:
parent
da78eb419e
commit
eef7b914dd
2 changed files with 11 additions and 11 deletions
|
|
@ -457,7 +457,7 @@ class Player{
|
|||
}
|
||||
|
||||
$c = key($this->chunksOrder);
|
||||
$d = $this->chunksOrder[$c] ?? null;
|
||||
$d = $this->chunksOrder[$c]; //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