Remove last test and various changes
This commit is contained in:
@ -194,7 +194,7 @@ public class JailManager {
|
||||
* @return True if a valid jail was found, false if no jail was found.
|
||||
*/
|
||||
public boolean isValidJail(String name) {
|
||||
return this.jails.get(name.toLowerCase()) != null;
|
||||
return this.jails.containsKey(name.toLowerCase());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -24,7 +24,7 @@ import com.graywolf336.jail.enums.Lang;
|
||||
permission = "jail.command.jailcheck",
|
||||
usage = "/jail check [name]"
|
||||
)
|
||||
public class JailCheckCommand implements Command{
|
||||
public class JailCheckCommand implements Command {
|
||||
|
||||
// Checks the status of the specified prisoner
|
||||
public boolean execute(JailManager jm, CommandSender sender, String... args) {
|
||||
|
Reference in New Issue
Block a user