This will be re-added after the RB.
This commit is contained in:
parent
b236d865a9
commit
66ffbbf1c5
@ -12,11 +12,5 @@ import java.lang.annotation.Target;
|
|||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
public @interface EventHandler {
|
public @interface EventHandler {
|
||||||
|
|
||||||
/**
|
|
||||||
* This field is now fetched from the event handler method's parameter
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
@Deprecated Class<? extends Event> event() default Event.class;
|
|
||||||
|
|
||||||
EventPriority priority() default EventPriority.NORMAL;
|
EventPriority priority() default EventPriority.NORMAL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user