eventpriority low vs high
for example i did eventpriority low in my plugin. then does it mean if the event is already cancelled by other plugin, then the event will count as cancelled in my plugin?
8 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by djarda2#0
Listeners with Lower Priority will get called before the ones with higher Priority
EventPriority (Spigot-API 1.21-R0.1-SNAPSHOT API)
declaration: package: org.bukkit.event, enum: EventPriority
If it is cancelled by an Plugin which is on a lower level it will be set to cancelled iirc
thx
by default, EventHandlers don't ignore cancelled events

oh ok i didnt know that i will do it now. thank you a lot