Timings: rename core timers to remove 'timer' from the names

this makes them shorter and more consistent.
This commit is contained in:
Dylan K. Taylor
2020-12-23 17:52:25 +00:00
parent 1d7b65e0c2
commit bcc3e87730
14 changed files with 160 additions and 160 deletions

View File

@@ -374,7 +374,7 @@ class WorldManager{
}
private function doAutoSave() : void{
Timings::$worldSaveTimer->startTiming();
Timings::$worldSave->startTiming();
foreach($this->worlds as $world){
foreach($world->getPlayers() as $player){
if($player->spawned){
@@ -383,6 +383,6 @@ class WorldManager{
}
$world->save(false);
}
Timings::$worldSaveTimer->stopTiming();
Timings::$worldSave->stopTiming();
}
}