Search in sources :

Example 1 with BukkitCommandP

use of com.alessiodp.parties.bukkit.commands.main.BukkitCommandP in project Parties by AlessioDP.

the class BukkitPartiesCommandManager method registerCommands.

@Override
public void registerCommands() {
    mainCommands = new ArrayList<>();
    mainCommands.add(new BukkitCommandParty((PartiesPlugin) plugin));
    if (!((PartiesPlugin) plugin).isBungeeCordEnabled()) {
        mainCommands.add(new BukkitCommandP((PartiesPlugin) plugin));
    }
}
Also used : BukkitCommandParty(com.alessiodp.parties.bukkit.commands.main.BukkitCommandParty) PartiesPlugin(com.alessiodp.parties.common.PartiesPlugin) BukkitCommandP(com.alessiodp.parties.bukkit.commands.main.BukkitCommandP)

Aggregations

BukkitCommandP (com.alessiodp.parties.bukkit.commands.main.BukkitCommandP)1 BukkitCommandParty (com.alessiodp.parties.bukkit.commands.main.BukkitCommandParty)1 PartiesPlugin (com.alessiodp.parties.common.PartiesPlugin)1