mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 13:05:30 +02:00
Update /mcpurge command to use Bukkit CommandAPI. Addresses #628
This commit is contained in:
@@ -30,7 +30,6 @@ import com.gmail.nossr50.config.Config;
|
||||
import com.gmail.nossr50.config.HiddenConfig;
|
||||
import com.gmail.nossr50.config.TreasuresConfig;
|
||||
import com.gmail.nossr50.database.Database;
|
||||
import com.gmail.nossr50.database.commands.McpurgeCommand;
|
||||
import com.gmail.nossr50.database.commands.McremoveCommand;
|
||||
import com.gmail.nossr50.database.commands.MmoupdateCommand;
|
||||
import com.gmail.nossr50.database.runnables.UserPurgeTask;
|
||||
@@ -277,7 +276,7 @@ public class mcMMO extends JavaPlugin {
|
||||
CommandRegistrationHelper.registerSkillCommands();
|
||||
|
||||
// mc* commands
|
||||
getCommand("mcpurge").setExecutor(new McpurgeCommand());
|
||||
CommandRegistrationHelper.registerMcpurgeCommand();
|
||||
getCommand("mcremove").setExecutor(new McremoveCommand());
|
||||
CommandRegistrationHelper.registerMcabilityCommand();
|
||||
getCommand("mcc").setExecutor(new MccCommand());
|
||||
|
Reference in New Issue
Block a user