First attempt at unjailing a prisoner.

This commit is contained in:
graywolf336
2013-12-28 15:08:24 -06:00
parent 17f627350b
commit 04d65088e3
8 changed files with 184 additions and 3 deletions

View File

@ -134,6 +134,11 @@ public class Jail {
this.nocellPrisoners.add(p);
}
/** Removes a prisoner from this jail, doesn't remove it from the cell. */
public void removePrisoner(Prisoner p) {
this.nocellPrisoners.remove(p);
}
/** Adds a cell to the Jail. */
public void addCell(Cell cell, boolean save) {
if(save) plugin.getJailIO().saveJail(this);

View File

@ -35,7 +35,7 @@ public class Prisoner {
this.offlinePending = false;
this.teleporting = false;
this.previousPosition = null;
this.previousGameMode = null;
this.previousGameMode = GameMode.SURVIVAL;
this.inventory = "";
this.armor = "";
}