public class IslandBanEvent extends IslandEvent
island
Constructor and Description |
---|
IslandBanEvent(SuperiorPlayer superiorPlayer,
SuperiorPlayer targetPlayer,
Island island)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
SuperiorPlayer |
getPlayer()
Get the player who banned the other player.
|
SuperiorPlayer |
getTarget()
Get the player that was banned.
|
getHandlerList, getHandlers, getIsland
public IslandBanEvent(SuperiorPlayer superiorPlayer, SuperiorPlayer targetPlayer, Island island)
superiorPlayer
- The player who banned the other player.targetPlayer
- The player that was banned.island
- The island that the player was banned from.public SuperiorPlayer getPlayer()
public SuperiorPlayer getTarget()