Fixed picking up items, entity IDs on packets

This commit is contained in:
Shoghi Cervantes
2015-03-12 11:43:24 +01:00
parent 4b442a9d7c
commit 00942d3a2b
6 changed files with 11 additions and 16 deletions

View File

@ -37,7 +37,7 @@ class DropItemPacket extends DataPacket{
}
public function decode(){
$this->eid = $this->getInt();
$this->eid = $this->getLong();
$this->unknown = $this->getByte();
$this->item = $this->getSlot();
}
@ -46,4 +46,4 @@ class DropItemPacket extends DataPacket{
}
}
}