Bypass method access checks for event handlers
This commit is contained in:
@ -27,6 +27,7 @@ final class EventHandler implements Comparable<EventHandler> {
|
||||
this.listener = listener;
|
||||
this.method = method;
|
||||
this.annotation = annotation;
|
||||
method.setAccessible(true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user