public class IslandRemoveRatingEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandRemoveRatingEvent(SuperiorPlayer superiorPlayer,
SuperiorPlayer ratingPlayer,
Island island)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
SuperiorPlayer |
getPlayer()
Get the player that removed the rating of the other player.
|
SuperiorPlayer |
getRatingPlayer()
Get the player that its rating was removed.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIsland
public IslandRemoveRatingEvent(@Nullable SuperiorPlayer superiorPlayer, SuperiorPlayer ratingPlayer, Island island)
superiorPlayer
- The player that removed the rating of the other player.
If null, the rating was removed by console.ratingPlayer
- The player that its rating was removed.island
- The island that was rated.@Nullable public SuperiorPlayer getPlayer()
public SuperiorPlayer getRatingPlayer()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable