Fixed #92 crash

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-05 07:25:15 +01:00
parent 67925b7df2
commit 50815c7ca8

View File

@ -357,8 +357,8 @@ class Entity extends stdClass{
));
$player->dataPacket(MC_PLAYER_EQUIPMENT, array(
"eid" => $this->eid,
"block" => $this->player->equipment[0],
"meta" => $this->player->equipment[1],
"block" => $this->player->equipment->blockID(),
"meta" => $this->player->equipment->getMetadata(),
));
break;
case ENTITY_ITEM: