Some work on the plugin, added a couple things and worked on the
preparing the jail.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user