Fix error message when event handlers throw an exception

This commit is contained in:
Luck
2018-12-22 17:03:51 +00:00
Unverified
parent fc69002c86
commit 2ccffc6e6d
3 changed files with 15 additions and 2 deletions
@@ -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();
}