Update /mcstats to use Bukkit CommandAPI. Addresses #628

This commit is contained in:
GJ
2013-02-05 09:30:47 -05:00
parent 81ba0404b2
commit ef7aeb752e
4 changed files with 15 additions and 3 deletions

View File

@@ -26,7 +26,6 @@ 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.player.MccCommand;
import com.gmail.nossr50.commands.player.McstatsCommand;
import com.gmail.nossr50.commands.player.MctopCommand;
import com.gmail.nossr50.config.AdvancedConfig;
import com.gmail.nossr50.config.Config;
@@ -446,7 +445,7 @@ public class mcMMO extends JavaPlugin {
CommandRegistrationHelper.registerMcrefreshCommand();
getCommand("mctop").setExecutor(new MctopCommand());
CommandRegistrationHelper.registerMcrankCommand();
getCommand("mcstats").setExecutor(new McstatsCommand());
CommandRegistrationHelper.registerMcstatsCommand();
// Party commands
getCommand("a").setExecutor(new ACommand());