From b6b03369f787678d33fd17c8b41474c7766250f9 Mon Sep 17 00:00:00 2001 From: GJ Date: Sat, 2 Feb 2013 02:12:38 -0500 Subject: [PATCH] Actually use the new /addxp registration function --- src/main/java/com/gmail/nossr50/mcMMO.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 8f0ba2163..d9fd15179 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -21,7 +21,6 @@ import com.gmail.nossr50.util.blockmeta.chunkmeta.ChunkManagerFactory; import com.gmail.nossr50.chat.commands.ACommand; import com.gmail.nossr50.chat.commands.PCommand; import com.gmail.nossr50.commands.CommandRegistrationHelper; -import com.gmail.nossr50.commands.admin.AddxpCommand; import com.gmail.nossr50.commands.admin.McgodCommand; import com.gmail.nossr50.commands.admin.McrefreshCommand; import com.gmail.nossr50.commands.admin.MmoeditCommand; @@ -344,7 +343,7 @@ public class mcMMO extends JavaPlugin { getCommand("ptp").setExecutor(new PtpCommand(this)); // Other commands - getCommand("addxp").setExecutor(new AddxpCommand()); + CommandRegistrationHelper.registerAddxpCommand(); CommandRegistrationHelper.registerAddlevelsCommand(); getCommand("mmoedit").setExecutor(new MmoeditCommand()); getCommand("inspect").setExecutor(new InspectCommand());