From de606f7527830e63d69a4f12b311fcdf3aa96aaf Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 30 Jul 2021 10:52:52 +0200 Subject: [PATCH] Hotfix TablistManager NPE --- src/de/steamwar/bungeecore/listeners/TablistManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/de/steamwar/bungeecore/listeners/TablistManager.java b/src/de/steamwar/bungeecore/listeners/TablistManager.java index 8c83b10..7c92736 100644 --- a/src/de/steamwar/bungeecore/listeners/TablistManager.java +++ b/src/de/steamwar/bungeecore/listeners/TablistManager.java @@ -148,6 +148,9 @@ public class TablistManager extends BasicListener { } private void refresh(){ + if (player.getServer() == null) { + return; + } ServerInfo currentServer = player.getServer().getInfo(); setHeader(calcHeader(player)); // TABLIST_FOOTER=§e{0} {1}§8ms §eSpieler§8: §7{2}