diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 1066b11b3..07cc8218e 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -117,6 +117,12 @@ public class mcMMO extends JavaPlugin { getLogger().setFilter(new LogFilter(this)); metadataValue = new FixedMetadataValue(this, true); + mcpcEnabled = getServer().getName().equals("MCPC+"); + combatTagEnabled = getServer().getPluginManager().getPlugin("CombatTag") != null; + healthBarPluginEnabled = getServer().getPluginManager().getPlugin("HealthBar") != null; + noCheatPlusPluginEnabled = getServer().getPluginManager().getPlugin("NoCheatPlus") != null; + compatNoCheatPlusPluginEnabled = getServer().getPluginManager().getPlugin("CompatNoCheatPlus") != null; + setupFilePaths(); loadConfigFiles(); @@ -125,12 +131,6 @@ public class mcMMO extends JavaPlugin { return; } - mcpcEnabled = getServer().getName().equals("MCPC+"); - combatTagEnabled = getServer().getPluginManager().getPlugin("CombatTag") != null; - healthBarPluginEnabled = getServer().getPluginManager().getPlugin("HealthBar") != null; - noCheatPlusPluginEnabled = getServer().getPluginManager().getPlugin("NoCheatPlus") != null; - compatNoCheatPlusPluginEnabled = getServer().getPluginManager().getPlugin("CompatNoCheatPlus") != null; - if (mcpcEnabled) { checkModConfigs(); }