mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Scheduled saving
This commit is contained in:
parent
244fde8143
commit
f1e4bb0f62
3 changed files with 11 additions and 2 deletions
|
|
@ -133,7 +133,7 @@ class Player{
|
|||
return false;
|
||||
}
|
||||
$c = key($this->chunksOrder);
|
||||
$d = $this->chunksOrder[$c];
|
||||
$d = @$this->chunksOrder[$c];
|
||||
if($c === null or $d > $this->server->api->getProperty("view-distance")){
|
||||
if($this->freedChunks === false){
|
||||
foreach($this->chunksOrder as $c => $d){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue