Better auto-save, less resource and disk usage

This commit is contained in:
Shoghi Cervantes
2013-06-04 18:45:30 +02:00
parent f12620f376
commit 06a0f169dd
4 changed files with 15 additions and 4 deletions

View File

@ -251,7 +251,7 @@ class Level{
$this->level->setData("time", (int) $this->time);
$this->level->doSaveRound();
$this->level->saveData();
$this->nextSave = microtime(true) + 90;
$this->nextSave = microtime(true) + 45;
}
public function getBlock(Vector3 $pos){