fix configManager NPE

This commit is contained in:
nossr50 2019-02-26 11:26:06 -08:00
parent 198b7e3f46
commit a344e43e2e
2 changed files with 4 additions and 4 deletions

View File

@ -71,8 +71,6 @@ public final class ConfigManager {
private RankConfig rankConfig;
private ItemWeightConfig itemWeightConfig;
/* CONFIG ERRORS */
private ArrayList<String> configErrors; //Collect errors to whine about to server admins
@ -81,7 +79,10 @@ public final class ConfigManager {
{
unloadables = new ArrayList<>();
userFiles = new ArrayList<>();
}
public void loadConfigs()
{
// Load Config Files
// I'm pretty these are supposed to be done in a specific order, so don't rearrange them willy nilly

View File

@ -406,8 +406,7 @@ public class mcMMO extends JavaPlugin {
private void loadConfigFiles() {
configManager = new ConfigManager();
configManager.loadConfigs();
}
private void registerEvents() {