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
|
// Dispatch the event now
|
||||||
|
|
||||||
|
if(!canPost) continue;
|
||||||
try {
|
try {
|
||||||
if(event.isCancelled() && !subscriber.allowCancelled())
|
if(event.isCancelled() && !subscriber.allowCancelled())
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue