SteamWar/BungeeCore
Archiviert
13
2

Tablist fix
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:01:53 +01:00
Ursprung 74cf9d4657
Commit 57b220f77c

Datei anzeigen

@ -305,7 +305,7 @@ public class Tablist extends MessageToMessageDecoder<PacketWrapper> {
} }
private BaseComponent wrapName(String name) { private BaseComponent wrapName(String name) {
return new TextComponent(TextComponent.fromLegacyText(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