From cc9c07d498fa1cbf0ea023a03a185324615efd58 Mon Sep 17 00:00:00 2001 From: Video Date: Thu, 29 Jul 2021 05:49:37 -0600 Subject: [PATCH] FS-335 --- .../totalfreedommod/bridge/TFGuildsBridge.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/bridge/TFGuildsBridge.java b/src/main/java/me/totalfreedom/totalfreedommod/bridge/TFGuildsBridge.java index e315b15c..ae379af4 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/bridge/TFGuildsBridge.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/bridge/TFGuildsBridge.java @@ -30,13 +30,10 @@ public class TFGuildsBridge extends FreedomService try { final Plugin tfGuilds = server.getPluginManager().getPlugin("TFGuilds"); - if (tfGuilds != null && tfGuilds.isEnabled()) + if (tfGuilds != null && tfGuilds.isEnabled() && tfGuilds instanceof TFGuilds) { - if (tfGuilds instanceof TFGuilds) - { - enabled = true; - return true; - } + enabled = true; + return true; } } catch (NoClassDefFoundError ex)