diff --git a/src/de/steamwar/misslewars/commands/CommandAcceptDecline.java b/src/de/steamwar/misslewars/commands/CommandAcceptDecline.java index 668edb2..cc8def7 100644 --- a/src/de/steamwar/misslewars/commands/CommandAcceptDecline.java +++ b/src/de/steamwar/misslewars/commands/CommandAcceptDecline.java @@ -46,7 +46,7 @@ public class CommandAcceptDecline implements CommandExecutor { return false; } - if (command.getName().equals("accept")) { + if (command.getName().equalsIgnoreCase("accept")) { teamInvitation.acceptInvite(player); } else { MWTeam.removeInvitations(player);