mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2026-06-04 02:36:53 +00:00
FS-335
This commit is contained in:
@@ -30,15 +30,12 @@ public class TFGuildsBridge extends FreedomService
|
||||
try
|
||||
{
|
||||
final Plugin tfGuilds = server.getPluginManager().getPlugin("TFGuilds");
|
||||
if (tfGuilds != null && tfGuilds.isEnabled())
|
||||
{
|
||||
if (tfGuilds instanceof TFGuilds)
|
||||
if (tfGuilds != null && tfGuilds.isEnabled() && tfGuilds instanceof TFGuilds)
|
||||
{
|
||||
enabled = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (NoClassDefFoundError ex)
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user