From 8650c187f9723d369594667af591fd6be15d11b4 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 2 Jan 2019 15:04:56 +0000 Subject: [PATCH] Entity: fixed mob head yaw --- src/pocketmine/entity/Entity.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index 0d36e8bf7c..a748eeb275 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -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();