mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-12 18:57:28 +00:00
Fix error message when event handlers throw an exception
This commit is contained in:
3 files changed
+15
-2
No files matched your search
@@ -43,4 +43,12 @@ public interface LuckPermsEvent {
|
||||
*/
|
||||
@NonNull LuckPermsApi getApi();
|
||||
|
||||
/**
|
||||
* Gets the type of the event.
|
||||
*
|
||||
* @return the type of the event
|
||||
* @since 4.4
|
||||
*/
|
||||
@NonNull Class<? extends LuckPermsEvent> getEventType();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user