public class IslandQuitEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandQuitEvent(SuperiorPlayer superiorPlayer,
Island island)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
SuperiorPlayer |
getPlayer()
Get the player who left their island.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIsland
public IslandQuitEvent(SuperiorPlayer superiorPlayer, Island island)
superiorPlayer
- The player who left their island.island
- The island that the player left.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