Fixed Indents on all files using the reformat option and optimized imports
This commit is contained in:
@@ -10,72 +10,72 @@ import org.bukkit.event.Cancellable;
|
||||
*/
|
||||
public class PowerLossEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
private boolean cancelled = false;
|
||||
private String message;
|
||||
private boolean cancelled = false;
|
||||
private String message;
|
||||
|
||||
public PowerLossEvent(Faction f, FPlayer p) {
|
||||
super(f, p);
|
||||
}
|
||||
public PowerLossEvent(Faction f, FPlayer p) {
|
||||
super(f, p);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the id of the faction.
|
||||
*
|
||||
* @return id of faction as String
|
||||
* @deprecated use getFaction().getId() instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public String getFactionId() {
|
||||
return getFaction().getId();
|
||||
}
|
||||
/**
|
||||
* Get the id of the faction.
|
||||
*
|
||||
* @return id of faction as String
|
||||
* @deprecated use getFaction().getId() instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public String getFactionId() {
|
||||
return getFaction().getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the tag of the faction.
|
||||
*
|
||||
* @return tag of faction as String
|
||||
* @deprecated use getFaction().getTag() instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public String getFactionTag() {
|
||||
return getFaction().getTag();
|
||||
}
|
||||
/**
|
||||
* Get the tag of the faction.
|
||||
*
|
||||
* @return tag of faction as String
|
||||
* @deprecated use getFaction().getTag() instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public String getFactionTag() {
|
||||
return getFaction().getTag();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Player involved in the event.
|
||||
*
|
||||
* @return Player from FPlayer.
|
||||
* @deprecated use getfPlayer().getPlayer() instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public Player getPlayer() {
|
||||
return getfPlayer().getPlayer();
|
||||
}
|
||||
/**
|
||||
* Get the Player involved in the event.
|
||||
*
|
||||
* @return Player from FPlayer.
|
||||
* @deprecated use getfPlayer().getPlayer() instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public Player getPlayer() {
|
||||
return getfPlayer().getPlayer();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the power loss message.
|
||||
*
|
||||
* @return power loss message as String.
|
||||
*/
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
/**
|
||||
* Get the power loss message.
|
||||
*
|
||||
* @return power loss message as String.
|
||||
*/
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the power loss message.
|
||||
*
|
||||
* @param message of powerloss
|
||||
*/
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
/**
|
||||
* Set the power loss message.
|
||||
*
|
||||
* @param message of powerloss
|
||||
*/
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return cancelled;
|
||||
}
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return cancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCancelled(boolean c) {
|
||||
this.cancelled = c;
|
||||
}
|
||||
@Override
|
||||
public void setCancelled(boolean c) {
|
||||
this.cancelled = c;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user