[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:
Bukkit/Spigot
2012-01-21 15:34:22 +11:00
parent 3dcab1536a
commit cb2fe27653
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;
}