From ffc2cefcfed29562ccd2ca1ee1243d72a13e9360 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 22 Sep 2023 07:40:46 +0200 Subject: [PATCH] Fix Tablist to have 1.20.2 compatibility #2 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 777a4d4..1b2a7b4 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 = "zzzzzSW-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;