Fix the unjailing not working, was messed up when we switch to UUIDs

This commit is contained in:
graywolf336
2014-07-14 21:55:01 -05:00
parent b83d1245f8
commit 5c4122ee92
3 changed files with 5 additions and 3 deletions

View File

@ -139,7 +139,7 @@ public class Jail {
/** Removes a prisoner from this jail, doesn't remove it from the cell. */
public void removePrisoner(Prisoner p) {
this.nocellPrisoners.remove(p);
this.nocellPrisoners.remove(p.getUUID());
}
/** Adds a cell to the Jail. */