mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Show blocks in hand to other players
This commit is contained in:
parent
f987ff232b
commit
2d9c400392
2 changed files with 18 additions and 1 deletions
|
|
@ -111,6 +111,11 @@ class Entity extends stdClass{
|
|||
"y" => $this->y,
|
||||
"z" => $this->z,
|
||||
));
|
||||
$player->dataPacket(MC_PLAYER_EQUIPMENT, array(
|
||||
"eid" => $this->eid,
|
||||
"block" => $this->player->equipment[0],
|
||||
"meta" => $this->player->equipment[1],
|
||||
));
|
||||
break;
|
||||
case ENTITY_ITEM:
|
||||
$player->dataPacket(MC_ADD_ITEM_ENTITY, array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue