public class PlayerLeaveMinigameRoundEvent extends MGRoundEvent implements org.bukkit.event.Cancellable
player
leaves an MGLib round
.Modifier and Type | Field and Description |
---|---|
protected MGPlayer |
player |
round
plugin
Constructor and Description |
---|
PlayerLeaveMinigameRoundEvent(Round round,
MGPlayer player)
Creates a new instance of this event.
|
Modifier and Type | Method and Description |
---|---|
MGPlayer |
getPlayer()
Retrieves the
round involved in this event. |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getRound
getHandlerList, getHandlers, getPlugin, uninitialize
protected MGPlayer player
public MGPlayer getPlayer()
round
involved in this event.round
involved in this eventpublic boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable