mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Fixed #92 crash
This commit is contained in:
parent
67925b7df2
commit
50815c7ca8
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue