From f021d5430096826c1d0c14863a599ee93eb4db0c Mon Sep 17 00:00:00 2001 From: jojo Date: Sun, 20 Dec 2020 12:08:38 +0100 Subject: [PATCH] Improve System --- src/de/steamwar/misslewars/commands/CommandAcceptDecline.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);