Rework /addlevels to use the built-in Bukkit command stuff.

This commit is contained in:
GJ
2013-02-01 13:27:12 -05:00
parent 89e5e16aad
commit a3e9d12f6a
8 changed files with 37 additions and 38 deletions

View File

@@ -392,9 +392,7 @@ public class mcMMO extends JavaPlugin {
getCommand("addxp").setExecutor(new AddxpCommand());
}
if (configInstance.getCommandAddLevelsEnabled()) {
getCommand("addlevels").setExecutor(new AddlevelsCommand());
}
CommandRegistrationHelper.registerAddlevelsCommand();
if (configInstance.getCommandMmoeditEnabled()) {
getCommand("mmoedit").setExecutor(new MmoeditCommand());