Skip to content

Commit

Permalink
feat: show second skin layer of npc in tablist
Browse files Browse the repository at this point in the history
  • Loading branch information
derklaro committed Jan 29, 2025
1 parent 2f26150 commit 80c3617
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ final class PacketEventsPacketAdapter implements PlatformPacketAdapter<World, Pl
20,
GameMode.CREATIVE,
null,
null);
null,
0,
true);

// PlayerInfo (https://wiki.vg/Protocol#Player_Info)
wrapper = new WrapperPlayServerPlayerInfoUpdate(Lazy.ADD_ACTIONS, Collections.singletonList(playerInfo));
Expand Down Expand Up @@ -421,6 +423,7 @@ private static final class Lazy {
// static actions we need to send out for all player updates (since 1.19.3)
private static final EnumSet<WrapperPlayServerPlayerInfoUpdate.Action> ADD_ACTIONS = EnumSet.of(
WrapperPlayServerPlayerInfoUpdate.Action.ADD_PLAYER,
WrapperPlayServerPlayerInfoUpdate.Action.UPDATE_HAT,
WrapperPlayServerPlayerInfoUpdate.Action.UPDATE_LISTED,
WrapperPlayServerPlayerInfoUpdate.Action.UPDATE_LATENCY,
WrapperPlayServerPlayerInfoUpdate.Action.UPDATE_GAME_MODE,
Expand Down

0 comments on commit 80c3617

Please sign in to comment.