Fix the unjailing force not actually unjailing someone.
This commit is contained in:
parent
882f6c76cd
commit
2bea10259c
@ -394,6 +394,7 @@ public class PrisonerManager {
|
|||||||
if(player == null) {
|
if(player == null) {
|
||||||
//Player is offline, we just forcefully remove them from the database
|
//Player is offline, we just forcefully remove them from the database
|
||||||
pl.getJailIO().removePrisoner(jail, cell, prisoner);
|
pl.getJailIO().removePrisoner(jail, cell, prisoner);
|
||||||
|
jail.removePrisoner(prisoner);
|
||||||
}else {
|
}else {
|
||||||
try {
|
try {
|
||||||
unJail(jail, cell, player, prisoner);
|
unJail(jail, cell, player, prisoner);
|
||||||
|
Loading…
Reference in New Issue
Block a user