Save the Jails when the server shuts down and when we add a cell.

This commit is contained in:
graywolf336
2013-12-09 15:12:32 -06:00
parent aa8443a8f7
commit 7743897b9d
2 changed files with 6 additions and 0 deletions

View File

@ -131,6 +131,7 @@ public class Jail {
/** Adds a cell to the Jail. */
public void addCell(Cell cell) {
plugin.getJailIO().saveJail(this);
this.cells.put(cell.getName(), cell);
}