mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 18:55:17 +01:00
CommandsAPI - Renamed back AbstractTeamCommand to AbstractIslandTeamCommand
This commit is contained in:
parent
355441d7ab
commit
2f4136cef4
@ -20,7 +20,7 @@ import us.tastybento.bskyblock.config.Settings;
|
|||||||
* @author ben
|
* @author ben
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractTeamCommand extends CompositeCommand {
|
public abstract class AbstractIslandTeamCommand extends CompositeCommand {
|
||||||
|
|
||||||
protected final static boolean DEBUG = false;
|
protected final static boolean DEBUG = false;
|
||||||
protected BiMap<UUID, UUID> inviteList = HashBiMap.create();
|
protected BiMap<UUID, UUID> inviteList = HashBiMap.create();
|
||||||
@ -32,7 +32,7 @@ public abstract class AbstractTeamCommand extends CompositeCommand {
|
|||||||
// TODO: It would be good if these could be auto-provided
|
// TODO: It would be good if these could be auto-provided
|
||||||
protected User user;
|
protected User user;
|
||||||
|
|
||||||
public AbstractTeamCommand(CompositeCommand command, String label, String... aliases) {
|
public AbstractIslandTeamCommand(CompositeCommand command, String label, String... aliases) {
|
||||||
super(command, label,aliases);
|
super(command, label,aliases);
|
||||||
}
|
}
|
||||||
|
|
@ -13,7 +13,7 @@ import us.tastybento.bskyblock.api.events.team.TeamEvent.TeamReason;
|
|||||||
import us.tastybento.bskyblock.config.Settings;
|
import us.tastybento.bskyblock.config.Settings;
|
||||||
import us.tastybento.bskyblock.database.objects.Island;
|
import us.tastybento.bskyblock.database.objects.Island;
|
||||||
|
|
||||||
public class IslandInviteAcceptCommand extends AbstractTeamCommand {
|
public class IslandInviteAcceptCommand extends AbstractIslandTeamCommand {
|
||||||
|
|
||||||
public IslandInviteAcceptCommand(CompositeCommand islandCommand) {
|
public IslandInviteAcceptCommand(CompositeCommand islandCommand) {
|
||||||
super(islandCommand, "accept");
|
super(islandCommand, "accept");
|
||||||
|
@ -9,7 +9,7 @@ import us.tastybento.bskyblock.api.events.team.TeamEvent.TeamReason;
|
|||||||
import us.tastybento.bskyblock.commands.IslandCommand;
|
import us.tastybento.bskyblock.commands.IslandCommand;
|
||||||
import us.tastybento.bskyblock.config.Settings;
|
import us.tastybento.bskyblock.config.Settings;
|
||||||
|
|
||||||
public class IslandInviteRejectCommand extends AbstractTeamCommand {
|
public class IslandInviteRejectCommand extends AbstractIslandTeamCommand {
|
||||||
|
|
||||||
|
|
||||||
public IslandInviteRejectCommand(IslandCommand islandCommand) {
|
public IslandInviteRejectCommand(IslandCommand islandCommand) {
|
||||||
|
@ -4,7 +4,7 @@ import us.tastybento.bskyblock.api.commands.CompositeCommand;
|
|||||||
import us.tastybento.bskyblock.api.commands.User;
|
import us.tastybento.bskyblock.api.commands.User;
|
||||||
import us.tastybento.bskyblock.config.Settings;
|
import us.tastybento.bskyblock.config.Settings;
|
||||||
|
|
||||||
public class IslandLeaveCommand extends AbstractTeamCommand {
|
public class IslandLeaveCommand extends AbstractIslandTeamCommand {
|
||||||
|
|
||||||
public IslandLeaveCommand(CompositeCommand islandCommand) {
|
public IslandLeaveCommand(CompositeCommand islandCommand) {
|
||||||
super(islandCommand, "leave");
|
super(islandCommand, "leave");
|
||||||
|
@ -14,7 +14,7 @@ import us.tastybento.bskyblock.api.events.team.TeamEvent;
|
|||||||
import us.tastybento.bskyblock.api.events.team.TeamEvent.TeamReason;
|
import us.tastybento.bskyblock.api.events.team.TeamEvent.TeamReason;
|
||||||
import us.tastybento.bskyblock.config.Settings;
|
import us.tastybento.bskyblock.config.Settings;
|
||||||
|
|
||||||
public class IslandTeamCommand extends AbstractTeamCommand {
|
public class IslandTeamCommand extends AbstractIslandTeamCommand {
|
||||||
|
|
||||||
private static final boolean DEBUG = false;
|
private static final boolean DEBUG = false;
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ import us.tastybento.bskyblock.api.events.team.TeamEvent.TeamReason;
|
|||||||
import us.tastybento.bskyblock.config.Settings;
|
import us.tastybento.bskyblock.config.Settings;
|
||||||
import us.tastybento.bskyblock.util.Util;
|
import us.tastybento.bskyblock.util.Util;
|
||||||
|
|
||||||
public class IslandTeamInviteCommand extends AbstractTeamCommand {
|
public class IslandTeamInviteCommand extends AbstractIslandTeamCommand {
|
||||||
|
|
||||||
public IslandTeamInviteCommand(CompositeCommand islandTeamCommand) {
|
public IslandTeamInviteCommand(CompositeCommand islandTeamCommand) {
|
||||||
super(islandTeamCommand, "invite");
|
super(islandTeamCommand, "invite");
|
||||||
|
@ -17,7 +17,7 @@ import us.tastybento.bskyblock.api.events.team.TeamEvent.TeamReason;
|
|||||||
import us.tastybento.bskyblock.config.Settings;
|
import us.tastybento.bskyblock.config.Settings;
|
||||||
import us.tastybento.bskyblock.database.objects.Island;
|
import us.tastybento.bskyblock.database.objects.Island;
|
||||||
|
|
||||||
public class IslandTeamPromoteCommand extends AbstractTeamCommand {
|
public class IslandTeamPromoteCommand extends AbstractIslandTeamCommand {
|
||||||
|
|
||||||
public IslandTeamPromoteCommand(CompositeCommand islandCommand) {
|
public IslandTeamPromoteCommand(CompositeCommand islandCommand) {
|
||||||
super(islandCommand, "promote", "makeleader");
|
super(islandCommand, "promote", "makeleader");
|
||||||
|
@ -9,7 +9,7 @@ import us.tastybento.bskyblock.api.events.team.TeamEvent;
|
|||||||
import us.tastybento.bskyblock.api.events.team.TeamEvent.TeamReason;
|
import us.tastybento.bskyblock.api.events.team.TeamEvent.TeamReason;
|
||||||
import us.tastybento.bskyblock.config.Settings;
|
import us.tastybento.bskyblock.config.Settings;
|
||||||
|
|
||||||
public class IslandTeamUninviteCommand extends AbstractTeamCommand {
|
public class IslandTeamUninviteCommand extends AbstractIslandTeamCommand {
|
||||||
|
|
||||||
public IslandTeamUninviteCommand(CompositeCommand islandCommand) {
|
public IslandTeamUninviteCommand(CompositeCommand islandCommand) {
|
||||||
super(islandCommand, "uninvite");
|
super(islandCommand, "uninvite");
|
||||||
|
Loading…
Reference in New Issue
Block a user