From f270d4197b4f2bdd2194042cf10619675fd4cb7d Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 6 Dec 2023 12:26:20 +0100 Subject: [PATCH] Fix tablist Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/tablist/Tablist.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/tablist/Tablist.java b/src/de/steamwar/bungeecore/tablist/Tablist.java index b27fcf78..07fb3821 100644 --- a/src/de/steamwar/bungeecore/tablist/Tablist.java +++ b/src/de/steamwar/bungeecore/tablist/Tablist.java @@ -305,8 +305,7 @@ public class Tablist extends MessageToMessageDecoder { } private BaseComponent wrapName(String name) { - System.out.println(TextComponent.fromArray(TextComponent.fromLegacyText(name)).toString()); - return TextComponent.fromArray(TextComponent.fromLegacyText(name)); + return new TextComponent(name); } private void sendTabPacket(List items, PlayerListItem.Action action) { //Breaks in 1.19.3 if action != UPDATE_DISPLAY_NAME, ADD_PLAYER or REMOVE_PLAYER