Fix a minor bug with posting to wrong priority levels.

This commit is contained in:
Zontreck 2024-02-13 21:33:40 -07:00
parent 7e25ece9b0
commit e0bbf63fc1

View file

@ -72,6 +72,7 @@ public class EventDispatcher
// Dispatch the event now
if(!canPost) continue;
try {
if(event.isCancelled() && !subscriber.allowCancelled())
continue;