Skip to content

Commit 482dfa6

Browse files
authored
fix: use formatRelationalComponent in PlayerTabList#updateRelationalDisplayName (WiIIiam278#317)
1 parent 83cfe62 commit 482dfa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/net/william278/velocitab/tab/PlayerTabList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ private void updateRelationalDisplayName(@NotNull TabPlayer tabPlayer, @NotNull
596596

597597
final String withPlaceholders = plugin.getPlaceholderManager().applyViewerPlaceholders(viewer, formatConditionalPlaceholders);
598598
final String unformatted = plugin.getPlaceholderManager().formatVelocitabPlaceholders(withPlaceholders, tabPlayer, viewer);
599-
final Component displayNameComponent = formatComponent(tabPlayer, unformatted);
599+
final Component displayNameComponent = formatRelationalComponent(tabPlayer, viewer, unformatted);
600600
updateEntryDisplayName(tabPlayer, viewer, displayNameComponent);
601601
});
602602
}

0 commit comments

Comments
 (0)