public class IslandClearRolesPrivilegesEvent extends IslandEvent implements org.bukkit.event.Cancellable
island| Constructor and Description |
|---|
IslandClearRolesPrivilegesEvent(Island island,
SuperiorPlayer superiorPlayer)
The constructor of the event.
|
| Modifier and Type | Method and Description |
|---|---|
SuperiorPlayer |
getPlayer()
Get the player that cleared the privileges to the other player.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIslandpublic IslandClearRolesPrivilegesEvent(Island island, SuperiorPlayer superiorPlayer)
island - The island that the privileges were cleared in.superiorPlayer - The player that cleared the privileges.public SuperiorPlayer getPlayer()
public boolean isCancelled()
isCancelled in interface org.bukkit.event.Cancellablepublic void setCancelled(boolean cancelled)
setCancelled in interface org.bukkit.event.Cancellable