Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ public static void setLobbyNametag(Player player, Profile profile) {
// Tab-list
Component listName = prefix.append(name).append(suffix);
TabIntegration tabIntegration = TeamPacketBlocker.getInstance().getTabIntegration();
if (tabIntegration != null && tabIntegration.isAvailable()) {
tabIntegration.setTabListName(player, listName);
} else {
if (tabIntegration == null || !tabIntegration.setTabListName(player, prefix, name, suffix)) {
PlayerUtil.setPlayerListName(player, listName);
}

Expand Down Expand Up @@ -101,4 +99,4 @@ public LobbyNametag(Component prefix, Component name, NamedTextColor scoreboardN
public Component getSuffix() { return suffix; }
public int getSortPriority() { return sortPriority; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -467,4 +467,4 @@ private void updateGUIs() {
}
}
}
}
}
Loading