mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Entity: fixed mob head yaw
This commit is contained in:
@ -1962,6 +1962,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
|||||||
$pk->position = $this->asVector3();
|
$pk->position = $this->asVector3();
|
||||||
$pk->motion = $this->getMotion();
|
$pk->motion = $this->getMotion();
|
||||||
$pk->yaw = $this->yaw;
|
$pk->yaw = $this->yaw;
|
||||||
|
$pk->headYaw = $this->yaw; //TODO
|
||||||
$pk->pitch = $this->pitch;
|
$pk->pitch = $this->pitch;
|
||||||
$pk->attributes = $this->attributeMap->getAll();
|
$pk->attributes = $this->attributeMap->getAll();
|
||||||
$pk->metadata = $this->propertyManager->getAll();
|
$pk->metadata = $this->propertyManager->getAll();
|
||||||
|
Reference in New Issue
Block a user