mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added RotateHeadPacket
This commit is contained in:
@ -37,7 +37,7 @@ class RotateHeadPacket extends DataPacket{
|
||||
public function encode(){
|
||||
$this->reset();
|
||||
$this->putInt($this->eid);
|
||||
$this->putByte($this->yaw);
|
||||
$this->putByte((int) ($this->yaw / 360));
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user