mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +00:00
Fixed PlayerActionPacket encode
This commit is contained in:
parent
ac6e2f9bf7
commit
205f6d50c1
@ -49,6 +49,7 @@ class PlayerActionPacket extends DataPacket{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function encode(){
|
public function encode(){
|
||||||
|
$this->reset();
|
||||||
$this->putLong($this->eid);
|
$this->putLong($this->eid);
|
||||||
$this->putInt($this->action);
|
$this->putInt($this->action);
|
||||||
$this->putInt($this->x);
|
$this->putInt($this->x);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user