public class IslandDisbandEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandDisbandEvent(SuperiorPlayer superiorPlayer,
Island island)
The constructor for the event.
|
Modifier and Type | Method and Description |
---|---|
SuperiorPlayer |
getPlayer()
Get the player who proceed the operation.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIsland
public IslandDisbandEvent(SuperiorPlayer superiorPlayer, Island island)
superiorPlayer
- The player who proceed the operation.island
- The island that is being disbanded.public SuperiorPlayer getPlayer()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable