From 24bfb129415d008e84d3bf8dccd71dc4e2597bd4 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 1 Nov 2022 22:14:19 +0100 Subject: [PATCH] Hotfix TablistServer --- src/de/steamwar/bungeecore/tablist/TablistServer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/bungeecore/tablist/TablistServer.java b/src/de/steamwar/bungeecore/tablist/TablistServer.java index 6c67d56b..54809408 100644 --- a/src/de/steamwar/bungeecore/tablist/TablistServer.java +++ b/src/de/steamwar/bungeecore/tablist/TablistServer.java @@ -90,6 +90,7 @@ public class TablistServer implements TablistPart { public static Stream teamify(List players, ProxiedPlayer player) { int team = SteamwarUser.get(player.getUniqueId()).getTeam(); + if (team == 0) return players.stream(); return players.stream().map(item -> { ProxiedPlayer p = BungeeCord.getInstance().getPlayer(item.getUuid()); if (p == null) return item;