Fix my comment, would have threw someone off in the future I imagine

This commit is contained in:
graywolf336 2014-01-21 18:11:46 -06:00
parent 34ac65565c
commit 9a9a75dc1e

View File

@ -100,7 +100,7 @@ public class JailCommand implements Command {
//Check if the cell is defined, and if so check to be sure it exists. //Check if the cell is defined, and if so check to be sure it exists.
if(!params.cell().isEmpty()) { if(!params.cell().isEmpty()) {
if(jm.getJail(params.jail()).getCell(params.cell()) == null) { if(jm.getJail(params.jail()).getCell(params.cell()) == null) {
//There is cell by that name //There is no cell by that name
sender.sendMessage(jm.getPlugin().getJailIO().getLanguageString(LangString.NOCELL, new String[] { params.cell(), params.jail() })); sender.sendMessage(jm.getPlugin().getJailIO().getLanguageString(LangString.NOCELL, new String[] { params.cell(), params.jail() }));
return true; return true;
}else if(jm.getJail(params.jail()).getCell(params.cell()).hasPrisoner()) { }else if(jm.getJail(params.jail()).getCell(params.cell()).hasPrisoner()) {