mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Fixed a stupid mistake in AddEntityPacket
This commit is contained in:
parent
5a9b5db103
commit
716efe2549
@ -55,8 +55,8 @@ class AddEntityPacket extends DataPacket{
|
||||
$this->putUnsignedVarInt($this->type);
|
||||
$this->putVector3f($this->x, $this->y, $this->z);
|
||||
$this->putVector3f($this->speedX, $this->speedY, $this->speedZ);
|
||||
$this->putLFloat($this->pitch * (256 / 360));
|
||||
$this->putLFloat($this->yaw * (256 / 360));
|
||||
$this->putLFloat($this->pitch);
|
||||
$this->putLFloat($this->yaw);
|
||||
$this->putUnsignedVarInt(count($this->attributes));
|
||||
foreach($this->attributes as $entry){
|
||||
$this->putString($entry->getName());
|
||||
|
Loading…
x
Reference in New Issue
Block a user