mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Better auto-save, less resource and disk usage
This commit is contained in:
parent
f12620f376
commit
06a0f169dd
4 changed files with 15 additions and 4 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue