More proper fix

This commit is contained in:
nossr50
2021-04-16 12:24:02 -07:00
parent 81a3441d62
commit c29f311f1e
4 changed files with 6 additions and 3 deletions

View File

@@ -184,6 +184,7 @@ public class mcMMO extends JavaPlugin {
@Override
public void onEnable() {
try {
setupFilePaths();
generalConfig = new GeneralConfig(getDataFolder()); //Load before skillTools
skillTools = new SkillTools(this); //Load after general config
@@ -207,7 +208,6 @@ public class mcMMO extends JavaPlugin {
upgradeManager = new UpgradeManager();
setupFilePaths();
modManager = new ModManager();
@@ -338,7 +338,6 @@ public class mcMMO extends JavaPlugin {
transientEntityTracker = new TransientEntityTracker();
setServerShutdown(false); //Reset flag, used to make decisions about async saves
LocaleLoader.reloadLocale(); //Apply override locale
}
public static PlayerLevelUtils getPlayerLevelUtils() {