Fix error message when event handlers throw an exception

This commit is contained in:
Luck committed 2018-12-22 17:03:51 +00:00
1 parent fc69002c86
commit 2ccffc6e6d
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();
}