mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 13:05:30 +02:00
Rework /addlevels to use the built-in Bukkit command stuff.
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user