mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
Fixed entityBaseTick not being timed for Players
This commit is contained in:
parent
badd669b3d
commit
f4f2323518
@ -1686,7 +1686,10 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
|
|
||||||
if($this->spawned){
|
if($this->spawned){
|
||||||
$this->processMovement($tickDiff);
|
$this->processMovement($tickDiff);
|
||||||
|
|
||||||
|
Timings::$timerEntityBaseTick->startTiming();
|
||||||
$this->entityBaseTick($tickDiff);
|
$this->entityBaseTick($tickDiff);
|
||||||
|
Timings::$timerEntityBaseTick->stopTiming();
|
||||||
|
|
||||||
if(!$this->isSpectator() and $this->isAlive()){
|
if(!$this->isSpectator() and $this->isAlive()){
|
||||||
$this->checkNearEntities($tickDiff);
|
$this->checkNearEntities($tickDiff);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user