public class IslandUnbanEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandUnbanEvent(SuperiorPlayer superiorPlayer,
SuperiorPlayer targetPlayer,
Island island)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
SuperiorPlayer |
getPlayer()
Get the player who unbanned the other player.
|
SuperiorPlayer |
getUnbannedPlayer()
Get the player that was unbanned.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIsland
public IslandUnbanEvent(SuperiorPlayer superiorPlayer, SuperiorPlayer targetPlayer, Island island)
superiorPlayer
- The player who unbanned the other player.targetPlayer
- The player that was unbanned.island
- The island that the player was unbanned from.public SuperiorPlayer getPlayer()
public SuperiorPlayer getUnbannedPlayer()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable