From fd1efaa22bc0a5e7a6ab916098768de979663f37 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 11 Sep 2022 18:16:06 +0200 Subject: [PATCH] Fix case sensitivity Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/BauCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/commands/BauCommand.java b/src/de/steamwar/bungeecore/commands/BauCommand.java index 98af453..51fdd0f 100644 --- a/src/de/steamwar/bungeecore/commands/BauCommand.java +++ b/src/de/steamwar/bungeecore/commands/BauCommand.java @@ -88,10 +88,10 @@ public class BauCommand extends BasicCommand { return; } - setLocked(SteamwarUser.get(p), args[1]); + setLocked(SteamwarUser.get(p), args[1].toUpperCase()); break; case "unlock": - setLocked(SteamwarUser.get(p), "open"); + setLocked(SteamwarUser.get(p), "OPEN"); break; default: HelpCommand.sendBauHelp(ChatSender.of(p));