Skip to content

Commit

Permalink
Update docs/velocity/dev/api/event.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: powercas_gamer <[email protected]>
  • Loading branch information
KastenKlicker and powercasgamer authored Dec 5, 2024
1 parent 45482b6 commit 41496e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/velocity/dev/api/event.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ and _not_ in `com.google.common.eventbus`.

## Orders

Every listener has a <Javadoc name={"com.velocitypowered.api.event.Subscribe"} project={"velocity"}>`priority`</Javadoc>.
Every listener has a <Javadoc name={"com.velocitypowered.api.event.Subscribe#priority()"} project={"velocity"}>`priority`</Javadoc>.
When an event is fired, the order in which listeners are invoked is defined by their `priority`.
The higher the priority, the earlier the event handler will be called.

Expand Down

0 comments on commit 41496e2

Please sign in to comment.