fix entity rotation changes not getting broadcast until the entity moves

This commit is contained in:
Dylan K. Taylor 2017-10-20 10:12:14 +01:00
parent a245615531
commit 98cfd0b398

View File

@ -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();