More command workings and using the custom languages.

This commit is contained in:
graywolf336
2014-01-21 18:09:47 -06:00
parent 3ab751baa8
commit 34ac65565c
9 changed files with 88 additions and 17 deletions

View File

@ -150,6 +150,11 @@ public class Jail {
return this.cells.get(name);
}
/** Removes the cell from the jail. */
public void removeCell(String name) {
this.cells.remove(name);
}
/** Returns the cell which the given player name is jailed in, null if not. */
public Cell getCellPrisonerIsIn(String name) {
for(Cell c : cells.values())