This commit is contained in:
Dylan K. Taylor 2017-04-22 00:47:01 +01:00
parent 179210aa27
commit e22bb213af

View File

@ -43,9 +43,10 @@ class MoveEntityPacket extends DataPacket{
$this->eid = $this->getEntityRuntimeId(); $this->eid = $this->getEntityRuntimeId();
$this->getVector3f($this->x, $this->y, $this->z); $this->getVector3f($this->x, $this->y, $this->z);
$this->pitch = $this->getByte() * (360.0 / 256); $this->pitch = $this->getByte() * (360.0 / 256);
$this->yaw = $this->getByte() * (360.0 / 256);
$this->headYaw = $this->getByte() * (360.0 / 256); $this->headYaw = $this->getByte() * (360.0 / 256);
$this->yaw = $this->getByte() * (360.0 / 256);
$this->byte1 = $this->getByte(); $this->byte1 = $this->getByte();
$this->byte2 = $this->getByte();
} }
public function encode(){ public function encode(){