SQL Fixes

:)
This commit is contained in:
Paldiu
2021-03-19 10:39:58 -05:00
parent 2a87271642
commit b03870c0aa
2 changed files with 9 additions and 9 deletions

View File

@ -139,7 +139,7 @@ public class WorldRestrictions extends FreedomService
event.setCancelled(true);
}
if (command.equals("coreprotect") || command.equals("core") || command.equals("co"))
if (command.equalsIgnoreCase("coreprotect") || command.equalsIgnoreCase("core") || command.equalsIgnoreCase("co"))
{
player.sendMessage(ChatColor.RED + "Only " + allowed + " are allowed to use CoreProtect here.");
event.setCancelled(true);