mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Entity: Write attributes in AddEntityPacket
This commit is contained in:
parent
70982c145b
commit
06a3c7c478
@ -1877,6 +1877,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
||||
$pk->motion = $this->getMotion();
|
||||
$pk->yaw = $this->yaw;
|
||||
$pk->pitch = $this->pitch;
|
||||
$pk->attributes = $this->attributeMap->getAll();
|
||||
$pk->metadata = $this->dataProperties;
|
||||
|
||||
$player->dataPacket($pk);
|
||||
|
Loading…
x
Reference in New Issue
Block a user