Add some JavaDoc to the transfer method.
This commit is contained in:
parent
2ecb26dc8a
commit
25a6d010ac
@ -411,6 +411,15 @@ public class PrisonerManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Transfers the prisoner from one jail, or cell, to another jail, and/or cell.
|
||||
*
|
||||
* @param origin The jail where they are coming from.
|
||||
* @param originCell The cell where they are coming from.
|
||||
* @param targetJail The jail we're transferring them from.
|
||||
* @param targetCell The cell we're putting them into.
|
||||
* @param prisoner The prisoner data we're handling.
|
||||
*/
|
||||
public void transferPrisoner(Jail origin, Cell originCell, Jail targetJail, Cell targetCell, Prisoner prisoner) {
|
||||
Player player = pl.getServer().getPlayer(prisoner.getName());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user