Update /party to use Bukkit CommandAPI for permissions & description -

usage is handled internally due to the number of subcommands.
This commit is contained in:
GJ
2013-02-07 23:05:59 -05:00
parent 291393d45d
commit 3da062c4cc
4 changed files with 14 additions and 3 deletions

View File

@@ -44,7 +44,6 @@ import com.gmail.nossr50.mods.config.CustomBlocksConfig;
import com.gmail.nossr50.mods.config.CustomEntityConfig;
import com.gmail.nossr50.mods.config.CustomToolsConfig;
import com.gmail.nossr50.party.PartyManager;
import com.gmail.nossr50.party.commands.PartyCommand;
import com.gmail.nossr50.party.commands.PtpCommand;
import com.gmail.nossr50.runnables.MobStoreCleaner;
import com.gmail.nossr50.runnables.SaveTimer;
@@ -287,7 +286,7 @@ public class mcMMO extends JavaPlugin {
// Party commands
CommandRegistrationHelper.registerAdminChatCommand();
getCommand("party").setExecutor(new PartyCommand());
CommandRegistrationHelper.registerPartyCommand();
CommandRegistrationHelper.registerPartyChatCommand();
getCommand("ptp").setExecutor(new PtpCommand(this));