mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 04:55:28 +02:00
Update /party to use Bukkit CommandAPI for permissions & description -
usage is handled internally due to the number of subcommands.
This commit is contained in:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user