Fixed PlayerActionPacket encode

This commit is contained in:
Shoghi Cervantes 2015-04-09 20:00:39 +02:00
parent ac6e2f9bf7
commit 205f6d50c1

View File

@ -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);