From 205f6d50c1bab32e66938b12f5eb86871574761e Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Thu, 9 Apr 2015 20:00:39 +0200 Subject: [PATCH] Fixed PlayerActionPacket encode --- src/pocketmine/network/protocol/PlayerActionPacket.php | 1 + 1 file changed, 1 insertion(+) 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);