public class CoopJoinEvent extends ASkyBlockEvent implements org.bukkit.event.Cancellable
Constructor and Description |
---|
CoopJoinEvent(java.util.UUID player,
com.wasteofplastic.askyblock.Island island,
java.util.UUID inviter) |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getInviter()
The UUID of the player who invited the player to join the island
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getHandlerList, getHandlers, getIsland, getIslandDistance, getIslandLocation, getIslandOwner, getPlayer, getProtectionSize, getTeamLeader, isLocked
public CoopJoinEvent(java.util.UUID player, com.wasteofplastic.askyblock.Island island, java.util.UUID inviter)
player
- island
- inviter
- public java.util.UUID getInviter()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable