mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-09-30 08:07:29 +02:00
Allow you to set debug in the config.
This commit is contained in:
parent
047e0d8001
commit
f96f3151f9
@ -83,9 +83,6 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
|
||||
private static DebugLog debugLog;
|
||||
public static boolean MobsDisabledInDefaultWorld = false;
|
||||
|
||||
// Debug Mode
|
||||
private boolean debug;
|
||||
|
||||
// Setup our Map for our Commands using the CommandHandler.
|
||||
private CommandHandler commandHandler;
|
||||
|
||||
@ -236,7 +233,7 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
|
||||
}
|
||||
|
||||
// Setup the Debug option, we'll default to false because this option will not be in the default config.
|
||||
this.debug = this.configMV.getBoolean("debug", false);
|
||||
GlobalDebug = this.configMV.getInt("debug", 0);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -268,13 +265,9 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
|
||||
this.commandHandler.registerCommand(new ModifySetCommand(this));
|
||||
this.commandHandler.registerCommand(new ModifyRemoveCommand(this));
|
||||
this.commandHandler.registerCommand(new ModifyClearCommand(this));
|
||||
|
||||
// Misc Commands
|
||||
this.commandHandler.registerCommand(new EnvironmentCommand(this));
|
||||
this.commandHandler.registerCommand(new DebugCommand(this));
|
||||
this.commandHandler.registerCommand(new SleepCommand(this));
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user