mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
fix entity rotation changes not getting broadcast until the entity moves
This commit is contained in:
parent
a245615531
commit
98cfd0b398
@ -1288,10 +1288,11 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
|||||||
$this->motionZ = 0;
|
$this->motionZ = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->updateMovement();
|
|
||||||
$this->forceMovementUpdate = false;
|
$this->forceMovementUpdate = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->updateMovement();
|
||||||
|
|
||||||
Timings::$timerEntityBaseTick->startTiming();
|
Timings::$timerEntityBaseTick->startTiming();
|
||||||
$hasUpdate = $this->entityBaseTick($tickDiff);
|
$hasUpdate = $this->entityBaseTick($tickDiff);
|
||||||
Timings::$timerEntityBaseTick->stopTiming();
|
Timings::$timerEntityBaseTick->stopTiming();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user