[Bleeding] Add the ability for plugins to ignore cancelled events when

using the new event system.
This commit is contained in:
md_5
2012-01-21 15:34:22 +11:00
committed by EvilSeph
parent 623ddc1bdd
commit 4c8cd25d91
6 changed files with 97 additions and 92 deletions

View File

@@ -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;
}