Permalink
Browse files

Fix head rotation issues, thank @jojoe77777

  • Loading branch information...
1 parent 76a1165 commit 4b21e35d6e570bd89573412a6897481dc7e042fc @dktapps dktapps committed Dec 20, 2016
Showing with 1 addition and 1 deletion.
  1. +1 โˆ’1 src/pocketmine/network/protocol/AddEntityPacket.php
@@ -56,8 +56,8 @@ public function encode(){
$this->putUnsignedVarInt($this->type);
$this->putVector3f($this->x, $this->y, $this->z);
$this->putVector3f($this->speedX, $this->speedY, $this->speedZ);
- $this->putLFloat($this->yaw * (256 / 360));
$this->putLFloat($this->pitch * (256 / 360));
+ $this->putLFloat($this->yaw * (256 / 360));
$this->putUnsignedVarInt($this->modifiers); //attributes?
$meta = Binary::writeMetadata($this->metadata);
$this->put($meta);

1 comment on commit 4b21e35

@jojoe77777
Contributor

๐Ÿ˜œ

Please sign in to comment.