Fix capital letters in Jail Names in creating cells working, fixes #47

This commit is contained in:
graywolf336 2015-02-09 22:15:06 -06:00
parent 2232b4dfa8
commit f56ed7068d

View File

@ -22,7 +22,7 @@ public class JailCreateCellCommand implements Command {
public boolean execute(JailManager jm, CommandSender sender, String... args) {
Player player = (Player) sender;
String name = player.getName();
String jail = args[1].toLowerCase();
String jail = args[1];
String cell = "";
//Only get the cell name they provide if they provide it