diff --git a/src/pocketmine/network/protocol/PlayerActionPacket.php b/src/pocketmine/network/protocol/PlayerActionPacket.php index caac04fe7..4d16ca796 100644 --- a/src/pocketmine/network/protocol/PlayerActionPacket.php +++ b/src/pocketmine/network/protocol/PlayerActionPacket.php @@ -49,6 +49,7 @@ class PlayerActionPacket extends DataPacket{ } public function encode(){ + $this->reset(); $this->putLong($this->eid); $this->putInt($this->action); $this->putInt($this->x);