Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
bundabrg committed Aug 15, 2020
1 parent e7a56d8 commit 76a342d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

package org.geysermc.connector.event.annotations;

import org.geysermc.connector.event.handlers.EventHandler;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
Expand All @@ -41,7 +43,7 @@
@Target({ElementType.METHOD})
public @interface GeyserEventHandler {
// Events are processed from lowest to highest priority
int priority() default org.geysermc.connector.event.handlers.EventHandler.PRIORITY.NORMAL;
int priority() default EventHandler.PRIORITY.NORMAL;

// If ignoreCancelled is true then the handler will not be executed
boolean ignoreCancelled() default false;
Expand Down

0 comments on commit 76a342d

Please sign in to comment.