Some work on the plugin, added a couple things and worked on the

preparing the jail.
This commit is contained in:
graywolf336
2013-12-24 22:25:14 -06:00
parent a27596bcfb
commit 63032ad6cc
7 changed files with 101 additions and 18 deletions

View File

@ -129,6 +129,11 @@ public class Jail {
return this.free.getLocation();
}
/** Add a prisoner to this jail. */
public void addPrisoner(Prisoner p) {
this.nocellPrisoners.add(p);
}
/** Adds a cell to the Jail. */
public void addCell(Cell cell, boolean save) {
if(save) plugin.getJailIO().saveJail(this);