public class MinigameRoundEndEvent extends MGRoundEvent implements org.bukkit.event.Cancellable
MGLib round
ends.round
plugin
Constructor and Description |
---|
MinigameRoundEndEvent(Round round,
boolean outOfTime)
Creates a new instance of this event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
boolean |
wasOutOfTime()
Gets whether the round ended because its timer reached 0.
|
getRound
getHandlerList, getHandlers, getPlugin, uninitialize
public boolean wasOutOfTime()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable