Class MiniGameExceptionEvent
java.lang.Object
org.bukkit.event.Event
com.minigameworld.events.minigame.MiniGameEvent
com.minigameworld.events.minigame.MiniGameExceptionEvent
- Direct Known Subclasses:
MiniGamePlayerExceptionEvent
,MiniGameServerExceptionEvent
Called when a exception related minigame has occurred
[IMPORTANT] This event is passed to a only minigame which is passed with argument in this constructor
[IMPORTANT] Other plugin has to call this event to pass exception to a minigame
[IMPORTANT] This event is passed to a only minigame which is passed with argument in this constructor
[IMPORTANT] Other plugin has to call this event to pass exception to a minigame
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.minigameworld.events.minigame.MiniGameEvent
getHandlerList, getHandlers, getMiniGame
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
MiniGameExceptionEvent
-
-
Method Details
-
getReason
Get exception reason- Returns:
- Exception reason
-
toString
- Overrides:
toString
in classMiniGameEvent
-