After transferring update the signs.

This commit is contained in:
graywolf336 2015-06-30 14:27:44 -05:00
parent 2373338770
commit c4c2b30820

View File

@ -749,6 +749,12 @@ public class PrisonerManager {
}
}
}
//Update the signs of both cells
if(originCell != null)
originCell.updateSigns();
if(targetCell != null)
targetCell.updateSigns();
//Throw our custom event PrisonerTransferredEvent to say it was successful
PrisonerTransferredEvent event = new PrisonerTransferredEvent(originJail, originCell, targetJail, targetCell, prisoner, player);