Fixed AddEntityPacket

This commit is contained in:
Shoghi Cervantes 2014-02-08 13:02:10 +01:00
parent b8ff5716c7
commit 2c3ab612f2

View File

@ -41,7 +41,7 @@ class AddEntityPacket extends RakNetDataPacket{
public function encode(){
$this->reset();
$this->putInt($this->eid);
$this->putInt($this->type);
$this->putByte($this->type);
$this->putFloat($this->x);
$this->putFloat($this->y);
$this->putFloat($this->z);