mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fixed #92 crash
This commit is contained in:
@ -357,8 +357,8 @@ class Entity extends stdClass{
|
|||||||
));
|
));
|
||||||
$player->dataPacket(MC_PLAYER_EQUIPMENT, array(
|
$player->dataPacket(MC_PLAYER_EQUIPMENT, array(
|
||||||
"eid" => $this->eid,
|
"eid" => $this->eid,
|
||||||
"block" => $this->player->equipment[0],
|
"block" => $this->player->equipment->blockID(),
|
||||||
"meta" => $this->player->equipment[1],
|
"meta" => $this->player->equipment->getMetadata(),
|
||||||
));
|
));
|
||||||
break;
|
break;
|
||||||
case ENTITY_ITEM:
|
case ENTITY_ITEM:
|
||||||
|
Reference in New Issue
Block a user