diff --git a/src/pocketmine/network/mcpe/protocol/AddEntityPacket.php b/src/pocketmine/network/mcpe/protocol/AddEntityPacket.php index 84f69f379..09c47f7ba 100644 --- a/src/pocketmine/network/mcpe/protocol/AddEntityPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AddEntityPacket.php @@ -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());