mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Timings: rename core timers to remove 'timer' from the names
this makes them shorter and more consistent.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user