Scheduled saving

This commit is contained in:
Shoghi Cervantes Pueyo 2013-05-15 22:50:55 +02:00
parent 244fde8143
commit f1e4bb0f62
3 changed files with 11 additions and 2 deletions

View file

@ -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){