public class IslandJoinEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandJoinEvent(SuperiorPlayer superiorPlayer,
Island island)
The constructor to the event.
|
Modifier and Type | Method and Description |
---|---|
SuperiorPlayer |
getPlayer()
Get the player who joined the island as a new member.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIsland
public IslandJoinEvent(SuperiorPlayer superiorPlayer, Island island)
superiorPlayer
- The player who joined the island as a new member.island
- The island that the player joined into.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