public final class RemoveAdminEvent extends Event implements Cancellable
Constructor and Description |
---|
RemoveAdminEvent(java.lang.String playername) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPlayerName()
Gets the name of the player who was removed from the admin list.
|
boolean |
isCancelled()
Determines if the event is cancelled.
|
void |
setCancelled(boolean cancel)
Cancels this event.
|
public java.lang.String getPlayerName()
public boolean isCancelled()
Cancellable
isCancelled
in interface Cancellable
public void setCancelled(boolean cancel)
Cancellable
setCancelled
in interface Cancellable
cancel
- set to true if you want to cancel this event.