Fix the unjailing not working, was messed up when we switch to UUIDs
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user