From 0fc0954d82ee9146933a0492507bdb7ade1935a3 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 22 Sep 2023 07:38:04 +0200 Subject: [PATCH] Fix Tablist to have 1.20.2 compatibility 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 299bff2..777a4d4 100644 --- a/src/de/steamwar/bungeecore/tablist/Tablist.java +++ b/src/de/steamwar/bungeecore/tablist/Tablist.java @@ -46,7 +46,7 @@ public class Tablist extends MessageToMessageDecoder { private static final UUID[] uuids = IntStream.range(0, 80).mapToObj(i -> UUID.randomUUID()).toArray(UUID[]::new); private static final String[] names = IntStream.range(0, 80).mapToObj(i -> " »SW« " + String.format("%02d", i)).toArray(String[]::new); - private static final String TAB_TEAM = "»SW-Tab"; + private static final String TAB_TEAM = "zzzzzSW-Tab"; private static final Team teamPacket = new Team(TAB_TEAM, (byte) 0, ComponentSerializer.toString(TextComponent.fromLegacyText("")), ComponentSerializer.toString(TextComponent.fromLegacyText("")), ComponentSerializer.toString(TextComponent.fromLegacyText("")), "never", "always", 21, (byte)0x00, names); private final Map directTabItems;