mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-28 19:03:51 -07:00
[Bleeding] Add the ability for plugins to ignore cancelled events when
using the new event system. By: md_5 <md_5@bigpond.com>
This commit is contained in:
@@ -11,6 +11,7 @@ import java.lang.annotation.Target;
|
||||
@Target(ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface EventHandler {
|
||||
|
||||
EventPriority priority() default EventPriority.NORMAL;
|
||||
|
||||
boolean ignoreCancelled() default false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user