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

@ -552,7 +552,7 @@ abstract class Living extends Entity{
}
protected function entityBaseTick(int $tickDiff = 1) : bool{
Timings::$timerLivingEntityBaseTick->startTiming();
Timings::$livingEntityBaseTick->startTiming();
$hasUpdate = parent::entityBaseTick($tickDiff);
@ -576,7 +576,7 @@ abstract class Living extends Entity{
$this->attackTime -= $tickDiff;
}
Timings::$timerLivingEntityBaseTick->stopTiming();
Timings::$livingEntityBaseTick->stopTiming();
return $hasUpdate;
}