13
0
geforkt von Mirrors/Velocity

Fix profile presence

Dieser Commit ist enthalten in:
Corey Shupe 2022-12-07 13:26:01 -05:00
Ursprung cc7d199f47
Commit 2a0d657a0c

Datei anzeigen

@ -120,6 +120,7 @@ public class VelocityTabList implements InternalTabList {
actions.addAll(EnumSet.of(UpsertPlayerInfo.Action.ADD_PLAYER, actions.addAll(EnumSet.of(UpsertPlayerInfo.Action.ADD_PLAYER,
UpsertPlayerInfo.Action.UPDATE_LATENCY, UpsertPlayerInfo.Action.UPDATE_LATENCY,
UpsertPlayerInfo.Action.UPDATE_LISTED)); UpsertPlayerInfo.Action.UPDATE_LISTED));
playerInfoEntry.setProfile(entry.getProfile());
if (entry.getDisplayNameComponent().isPresent()) { if (entry.getDisplayNameComponent().isPresent()) {
actions.add(UpsertPlayerInfo.Action.UPDATE_DISPLAY_NAME); actions.add(UpsertPlayerInfo.Action.UPDATE_DISPLAY_NAME);
playerInfoEntry.setDisplayName(entry.getDisplayNameComponent().get()); playerInfoEntry.setDisplayName(entry.getDisplayNameComponent().get());