Fix some of the JavaDoc.
This commit is contained in:
@ -38,7 +38,7 @@ public class PrePrisonerTransferredEvent extends Event implements Cancellable {
|
||||
* @param targetCell The cell the prisoner is going to, can be null.
|
||||
* @param prisoner The prisoner data.
|
||||
* @param player The player being jailed.
|
||||
* @param targetCell The name of what is transferring this prisoner.
|
||||
* @param transferor The name of what is transferring this prisoner.
|
||||
*/
|
||||
public PrePrisonerTransferredEvent(Jail originalJail, Cell originalCell, Jail targetJail, Cell targetCell, Prisoner prisoner, Player player, String transferor) {
|
||||
this.originalJail = originalJail;
|
||||
@ -116,7 +116,7 @@ public class PrePrisonerTransferredEvent extends Event implements Cancellable {
|
||||
/**
|
||||
* Sets the prisoner whom the data should say jailed this prisoner.
|
||||
*
|
||||
* @param jailer The name to put who is the jailer for this prisoner.
|
||||
* @param transferor The name to put who is the jailer for this prisoner.
|
||||
*/
|
||||
public void setTransferor(String transferor) {
|
||||
this.transferor = transferor;
|
||||
|
@ -35,8 +35,6 @@ public class PrisonerJailedEvent extends Event {
|
||||
* @param cell The cell we're going to be sending the prisoner to, can be null.
|
||||
* @param prisoner The prisoner data.
|
||||
* @param player The player being jailed.
|
||||
* @param online Whether the player is online or not.
|
||||
* @param jailer The name of what jailed this prisoner.
|
||||
*/
|
||||
public PrisonerJailedEvent(Jail jail, Cell cell, Prisoner prisoner, Player player) {
|
||||
this.jail = jail;
|
||||
@ -60,7 +58,7 @@ public class PrisonerJailedEvent extends Event {
|
||||
return this.prisoner;
|
||||
}
|
||||
|
||||
/** Gets the instance of the player being jailed <strong>but will return null if {@link #isOnline()} returns false</strong>. */
|
||||
/** Gets the instance of the player being jailed. */
|
||||
public Player getPlayer() {
|
||||
return this.player;
|
||||
}
|
||||
|
Reference in New Issue
Block a user