mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +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->updateMovement();
|
||||
$this->forceMovementUpdate = false;
|
||||
}
|
||||
|
||||
$this->updateMovement();
|
||||
|
||||
Timings::$timerEntityBaseTick->startTiming();
|
||||
$hasUpdate = $this->entityBaseTick($tickDiff);
|
||||
Timings::$timerEntityBaseTick->stopTiming();
|
||||
|
Loading…
x
Reference in New Issue
Block a user