CommandsAPI - Renamed back AbstractTeamCommand to AbstractIslandTeamCommand

This commit is contained in:
Florian CUNY 2017-12-22 13:20:18 +01:00
parent 355441d7ab
commit 2f4136cef4
8 changed files with 9 additions and 9 deletions

View File

@ -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);
} }

View File

@ -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");

View File

@ -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) {

View File

@ -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");

View File

@ -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;

View File

@ -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");

View File

@ -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");

View File

@ -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");