Fix my comment, would have threw someone off in the future I imagine
This commit is contained in:
parent
34ac65565c
commit
9a9a75dc1e
@ -100,7 +100,7 @@ public class JailCommand implements Command {
|
||||
//Check if the cell is defined, and if so check to be sure it exists.
|
||||
if(!params.cell().isEmpty()) {
|
||||
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() }));
|
||||
return true;
|
||||
}else if(jm.getJail(params.jail()).getCell(params.cell()).hasPrisoner()) {
|
||||
|
Loading…
Reference in New Issue
Block a user