SteamWar/BungeeCore
Archiviert
13
2

Fix tablist
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-12-06 12:26:20 +01:00
Ursprung 2d85746d9f
Commit f270d4197b

Datei anzeigen

@ -305,8 +305,7 @@ public class Tablist extends MessageToMessageDecoder<PacketWrapper> {
} }
private BaseComponent wrapName(String name) { private BaseComponent wrapName(String name) {
System.out.println(TextComponent.fromArray(TextComponent.fromLegacyText(name)).toString()); return new TextComponent(name);
return TextComponent.fromArray(TextComponent.fromLegacyText(name));
} }
private void sendTabPacket(List<PlayerListItem.Item> items, PlayerListItem.Action action) { //Breaks in 1.19.3 if action != UPDATE_DISPLAY_NAME, ADD_PLAYER or REMOVE_PLAYER private void sendTabPacket(List<PlayerListItem.Item> items, PlayerListItem.Action action) { //Breaks in 1.19.3 if action != UPDATE_DISPLAY_NAME, ADD_PLAYER or REMOVE_PLAYER