Showing Dropping Anvil Something (Ignore)

This commit is contained in:
Driftay
2019-09-15 05:08:00 -04:00
parent 978bcbbb3b
commit e07dc303ef
285 changed files with 28181 additions and 28161 deletions

View File

@@ -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;
}
}