Entity: fixed mob head yaw

This commit is contained in:
Dylan K. Taylor 2019-01-02 15:04:56 +00:00
parent 4b4820cf53
commit 8650c187f9

View File

@ -1962,6 +1962,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
$pk->position = $this->asVector3();
$pk->motion = $this->getMotion();
$pk->yaw = $this->yaw;
$pk->headYaw = $this->yaw; //TODO
$pk->pitch = $this->pitch;
$pk->attributes = $this->attributeMap->getAll();
$pk->metadata = $this->propertyManager->getAll();