mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +00:00
Fixed #92 crash
This commit is contained in:
parent
67925b7df2
commit
50815c7ca8
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user