From 57b220f77c593c2284b7e3c3d57d5a09ffca688d Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 6 Dec 2023 12:01:53 +0100 Subject: [PATCH] Tablist fix Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/tablist/Tablist.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/tablist/Tablist.java b/src/de/steamwar/bungeecore/tablist/Tablist.java index 6c35b1f..418395b 100644 --- a/src/de/steamwar/bungeecore/tablist/Tablist.java +++ b/src/de/steamwar/bungeecore/tablist/Tablist.java @@ -305,7 +305,7 @@ public class Tablist extends MessageToMessageDecoder { } private BaseComponent wrapName(String name) { - return new TextComponent(TextComponent.fromLegacyText(name)); + return TextComponent.fromArray(TextComponent.fromLegacyText(name)); } private void sendTabPacket(List items, PlayerListItem.Action action) { //Breaks in 1.19.3 if action != UPDATE_DISPLAY_NAME, ADD_PLAYER or REMOVE_PLAYER