mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Entity: fixed mob head yaw
This commit is contained in:
parent
4b4820cf53
commit
8650c187f9
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user