Fix a minor bug with posting to wrong priority levels.
This commit is contained in:
parent
7e25ece9b0
commit
e0bbf63fc1
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ public class EventDispatcher
|
|||
|
||||
// Dispatch the event now
|
||||
|
||||
if(!canPost) continue;
|
||||
try {
|
||||
if(event.isCancelled() && !subscriber.allowCancelled())
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue