This commit is contained in:
Dylan K. Taylor 2019-03-09 19:31:13 +00:00
parent 4252c5914b
commit a1d50de12e

View File

@ -2579,6 +2579,7 @@ class Server{
} }
if($this->autoSave and ++$this->autoSaveTicker >= $this->autoSaveTicks){ if($this->autoSave and ++$this->autoSaveTicker >= $this->autoSaveTicks){
$this->autoSaveTicker = 0;
$this->getLogger()->debug("[Auto Save] Saving worlds..."); $this->getLogger()->debug("[Auto Save] Saving worlds...");
$start = microtime(true); $start = microtime(true);
$this->doAutoSave(); $this->doAutoSave();