mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-25 01:58:28 +01:00
Actually use the new /addxp registration function
This commit is contained in:
parent
0b6e854520
commit
b6b03369f7
@ -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.ACommand;
|
||||||
import com.gmail.nossr50.chat.commands.PCommand;
|
import com.gmail.nossr50.chat.commands.PCommand;
|
||||||
import com.gmail.nossr50.commands.CommandRegistrationHelper;
|
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.McgodCommand;
|
||||||
import com.gmail.nossr50.commands.admin.McrefreshCommand;
|
import com.gmail.nossr50.commands.admin.McrefreshCommand;
|
||||||
import com.gmail.nossr50.commands.admin.MmoeditCommand;
|
import com.gmail.nossr50.commands.admin.MmoeditCommand;
|
||||||
@ -344,7 +343,7 @@ public class mcMMO extends JavaPlugin {
|
|||||||
getCommand("ptp").setExecutor(new PtpCommand(this));
|
getCommand("ptp").setExecutor(new PtpCommand(this));
|
||||||
|
|
||||||
// Other commands
|
// Other commands
|
||||||
getCommand("addxp").setExecutor(new AddxpCommand());
|
CommandRegistrationHelper.registerAddxpCommand();
|
||||||
CommandRegistrationHelper.registerAddlevelsCommand();
|
CommandRegistrationHelper.registerAddlevelsCommand();
|
||||||
getCommand("mmoedit").setExecutor(new MmoeditCommand());
|
getCommand("mmoedit").setExecutor(new MmoeditCommand());
|
||||||
getCommand("inspect").setExecutor(new InspectCommand());
|
getCommand("inspect").setExecutor(new InspectCommand());
|
||||||
|
Loading…
Reference in New Issue
Block a user