public class IslandClearRatingsEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandClearRatingsEvent(SuperiorPlayer superiorPlayer,
Island island)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
SuperiorPlayer |
getPlayer()
Get the player that cleared the ratings of the island.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIsland
public IslandClearRatingsEvent(@Nullable SuperiorPlayer superiorPlayer, Island island)
superiorPlayer
- The player that cleared the ratings of the island.
If null, the ratings were cleared by console.island
- The island that was cleared from ratings.@Nullable 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