Now properly enables debug logging on startup if debug logging should be enabled.

This commit is contained in:
Jeremy Wood 2012-10-19 15:10:36 -04:00
parent e82db95bbc
commit ac3049f3ab
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
if (this.multiverseConfig != null) {
this.worldManager.loadDefaultWorlds();
this.worldManager.loadWorlds(true);
Logging.setDebugLevel(getMVConfig().getGlobalDebug());
} else {
this.log(Level.SEVERE, "Your configs were not loaded. Very little will function in Multiverse.");
}