Interface EventSubscription<T extends LuckPermsEvent>
- Type Parameters:
T- the event class
- All Superinterfaces:
AutoCloseable
Represents a subscription to a
LuckPermsEvent.-
Method Details
-
getEventClass
-
isActive
boolean isActive()Returns true if this handler is active- Returns:
- true if this handler is still active
-
close
void close()Unregisters this handler from the event bus.- Specified by:
closein interfaceAutoCloseable
-
getHandler
-