public final class ContextlessEvent extends org.bukkit.event.Event
This class is intended for usage in places of Skript that require an Event. Of course, not everything is always context/event dependent. For example, if one were to load a SectionNode or parse something into a
ParserInstance.getCurrentEvents() was null or empty, the resulting elements
would not be dependent upon a specific Event. Thus, there would be no reason for an Event to be required.
So, this classes exists to avoid dangerously passing null in these places.
- See Also:
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous