diff --git a/patches/api/Adventure.patch b/patches/api/Adventure.patch index df1c751ecb..86e1b43536 100644 --- a/patches/api/Adventure.patch +++ b/patches/api/Adventure.patch @@ -3214,10 +3214,16 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 --- a/src/main/java/org/bukkit/event/player/PlayerChatEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerChatEvent.java @@ -0,0 +0,0 @@ import org.jetbrains.annotations.NotNull; - * Listening to this event forces chat to wait for the main thread which - * causes delays for chat. {@link AsyncPlayerChatEvent} is the encouraged - * alternative for thread safe implementations. -+ * @deprecated use {@link io.papermc.paper.event.player.ChatEvent} instead + /** + * Holds information for player chat and commands + * +- * @deprecated This event will fire from the main thread and allows the use of +- * all of the Bukkit API, unlike the {@link AsyncPlayerChatEvent}. +- *
+- * Listening to this event forces chat to wait for the main thread which +- * causes delays for chat. {@link AsyncPlayerChatEvent} is the encouraged +- * alternative for thread safe implementations. ++ * @deprecated Listening to this event forces chat to wait for the main thread, delaying chat messages. It is recommended to use {@link io.papermc.paper.event.player.AsyncChatEvent} instead, wherever possible. */ @Deprecated @Warning(reason = "Listening to this event forces chat to wait for the main thread, delaying chat messages.")