From bac2ab2e5254c454cac32b21345934ad673e17b0 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 22 Sep 2020 17:52:00 +0200 Subject: [PATCH] Fix ignore case bug Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/FightCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/FightCommand.java b/src/de/steamwar/bungeecore/commands/FightCommand.java index 002c6d1..ea00e0b 100644 --- a/src/de/steamwar/bungeecore/commands/FightCommand.java +++ b/src/de/steamwar/bungeecore/commands/FightCommand.java @@ -58,7 +58,7 @@ public class FightCommand extends BasicCommand { String realMap = mode.hasMap(arg.toLowerCase()); if(realMap != null) return realMap; - if(arg.equals("Random")) + if(arg.equalsIgnoreCase("Random")) return mode.getRandomMap(); BungeeCore.send(sender, BungeeCore.CHAT_PREFIX + "§cDie gewünschte Arena gibt es nicht.");