mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed PlayerActionPacket encode
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user