mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Timings: rename core timers to remove 'timer' from the names
this makes them shorter and more consistent.
This commit is contained in:
@ -173,7 +173,7 @@ abstract class Projectile extends Entity{
|
||||
public function move(float $dx, float $dy, float $dz) : void{
|
||||
$this->blocksAround = null;
|
||||
|
||||
Timings::$entityMoveTimer->startTiming();
|
||||
Timings::$entityMove->startTiming();
|
||||
|
||||
$start = $this->location->asVector3();
|
||||
$end = $start->addVector($this->motion);
|
||||
@ -264,7 +264,7 @@ abstract class Projectile extends Entity{
|
||||
$this->getWorld()->onEntityMoved($this);
|
||||
$this->checkBlockCollision();
|
||||
|
||||
Timings::$entityMoveTimer->stopTiming();
|
||||
Timings::$entityMove->stopTiming();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user