From 78e602fd26ff37a6458b7cc0c2f8e71e86508fc8 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 18 Jun 2022 18:59:14 +0200 Subject: [PATCH] Fix npcs #3 Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/BungeeCore.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/BungeeCore.java b/src/de/steamwar/bungeecore/BungeeCore.java index 66385c8..5474677 100644 --- a/src/de/steamwar/bungeecore/BungeeCore.java +++ b/src/de/steamwar/bungeecore/BungeeCore.java @@ -205,7 +205,8 @@ public class BungeeCore extends Plugin { } } - tablistManager.disable(); + if(tablistManager != null) + tablistManager.disable(); errorLogger.unregister(); Statement.closeAll(); }