mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2026-06-04 10:36:54 +00:00
FS-335
This commit is contained in:
@@ -30,13 +30,10 @@ public class TFGuildsBridge extends FreedomService
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
final Plugin tfGuilds = server.getPluginManager().getPlugin("TFGuilds");
|
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)
|
catch (NoClassDefFoundError ex)
|
||||||
|
|||||||
Reference in New Issue
Block a user