mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39: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(
|
||||
"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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue