mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Better auto-save, less resource and disk usage
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user