Showing Dropping Anvil Something (Ignore)

This commit is contained in:
Driftay
2019-09-15 05:15:33 -04:00
parent e7db7170d1
commit 2feaed0aad
285 changed files with 28746 additions and 28746 deletions

View File

@@ -12,40 +12,40 @@ import org.bukkit.event.Cancellable;
*/
public class FPlayerRoleChangeEvent extends FactionPlayerEvent implements Cancellable {
private final Role from;
private boolean cancelled;
private Role to;
private final Role from;
private boolean cancelled;
private Role to;
public FPlayerRoleChangeEvent(Faction faction, FPlayer fPlayer, Role from, Role to) {
super(faction, fPlayer);
this.from = from;
this.to = to;
}
public FPlayerRoleChangeEvent(Faction faction, FPlayer fPlayer, Role from, Role to) {
super(faction, fPlayer);
this.from = from;
this.to = to;
}
public FPlayerRoleChangeEvent(Faction faction, FPlayer fPlayer, Role to) {
this(faction, fPlayer, fPlayer.getRole(), to);
}
public FPlayerRoleChangeEvent(Faction faction, FPlayer fPlayer, Role to) {
this(faction, fPlayer, fPlayer.getRole(), to);
}
@Override
public boolean isCancelled() {
return false;
}
@Override
public boolean isCancelled() {
return false;
}
@Override
public void setCancelled(boolean cancelled) {
this.cancelled = cancelled;
}
@Override
public void setCancelled(boolean cancelled) {
this.cancelled = cancelled;
}
public Role getFrom() {
return from;
}
public Role getFrom() {
return from;
}
public Role getTo() {
return to;
}
public Role getTo() {
return to;
}
public void setTo(Role to) {
this.to = to;
}
public void setTo(Role to) {
this.to = to;
}
}