bug #5432 - post modern event even if legacy event is cancelled

fixes #5432
This commit is contained in:
Riley Park 2021-03-29 19:20:10 -07:00
parent 6c83bc6e58
commit 000cec2ab2
No known key found for this signature in database
GPG Key ID: D831AF236C834E45

View File

@ -105,7 +105,7 @@ index 0000000000000000000000000000000000000000..89597b4a3064c3c6001c7e927a848ee7
+}
diff --git a/src/main/java/io/papermc/paper/adventure/ChatProcessor.java b/src/main/java/io/papermc/paper/adventure/ChatProcessor.java
new file mode 100644
index 0000000000000000000000000000000000000000..ed00e5e825856e790da467f429d026772e6303bd
index 0000000000000000000000000000000000000000..8774f5f8d1c6dbc2c504dc028368e8ab8cd3c38d
--- /dev/null
+++ b/src/main/java/io/papermc/paper/adventure/ChatProcessor.java
@@ -0,0 +1,212 @@
@ -218,7 +218,7 @@ index 0000000000000000000000000000000000000000..ed00e5e825856e790da467f429d02677
+ }
+ });
+ continueAfterAsyncAndSync.accept(se);
+ } else if (!ae.isCancelled()) {
+ } else {
+ continueAfterAsync.accept(ae);
+ }
+ } else {