Fixed server crash

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-05 17:58:46 +01:00
parent b0c520f72a
commit 74f139ea85

View File

@ -357,7 +357,7 @@ class Entity extends stdClass{
));
$player->dataPacket(MC_PLAYER_EQUIPMENT, array(
"eid" => $this->eid,
"block" => $this->player->equipment->blockID(),
"block" => $this->player->equipment->getID(),
"meta" => $this->player->equipment->getMetadata(),
));
break;