diff --git a/CHANGELOG b/CHANGELOG index 6f0c1460..444ed286 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -195,6 +195,7 @@ Fixes [!] Reload command not reloading from the config [!] Commands not working in console [!] LiteBans table not auto deleting on Velocity instance + [!] Toggle Commands are no longer case sensitive Changes [*] Remade permissions which will log OP and NOT OP players until they're permitted with the exempt permission diff --git a/Logger-Spigot/src/main/java/me/prism3/logger/commands/subcommands/ToggleSpy.java b/Logger-Spigot/src/main/java/me/prism3/logger/commands/subcommands/ToggleSpy.java index 3722dd32..dfd12d6e 100644 --- a/Logger-Spigot/src/main/java/me/prism3/logger/commands/subcommands/ToggleSpy.java +++ b/Logger-Spigot/src/main/java/me/prism3/logger/commands/subcommands/ToggleSpy.java @@ -30,7 +30,7 @@ public void perform(CommandSender commandSender, String[] args) { if (args.length <= 3 && args[1].equalsIgnoreCase("spy")) { - final String args2 = args[2]; + final String args2 = args[2].toLowerCase(); boolean isToggled;