mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
Fixed packet issues
This commit is contained in:
parent
1ddd58fd3b
commit
ac6e2f9bf7
@ -45,7 +45,7 @@ class AddPaintingPacket extends DataPacket{
|
||||
|
||||
public function encode(){
|
||||
$this->reset();
|
||||
$this->putLevel($this->eid);
|
||||
$this->putLong($this->eid);
|
||||
$this->putInt($this->x);
|
||||
$this->putInt($this->y);
|
||||
$this->putInt($this->z);
|
||||
|
@ -55,7 +55,7 @@ class MoveEntityPacket extends DataPacket{
|
||||
$this->putFloat($d[2]); //y
|
||||
$this->putFloat($d[3]); //z
|
||||
$this->putFloat($d[4]); //yaw
|
||||
$this->putFloat($d[5]); //headYaw
|
||||
$this->putFloat($d[5]); //headYaw
|
||||
$this->putFloat($d[6]); //pitch
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user