diff --git a/patches/server/Adventure.patch b/patches/server/Adventure.patch index 9a4016753..3e8d62408 100644 --- a/patches/server/Adventure.patch +++ b/patches/server/Adventure.patch @@ -2475,7 +2475,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 - PlayerChatMessage playerchatmessage1 = playerchatmessage.withUnsignedContent(ichatbasecomponent).filter(filteredtext.mask()); - + return CompletableFuture.allOf(completablefuture, componentFuture).thenAcceptAsync((filtered) -> { // Paper -+ PlayerChatMessage playerchatmessage1 = playerchatmessage.withUnsignedContent(componentFuture.join().component()).filter(completablefuture.join().mask()); // Paper ++ PlayerChatMessage playerchatmessage1 = playerchatmessage.filter(completablefuture.join().mask()).withResult(componentFuture.join()); // Paper this.broadcastChatMessage(playerchatmessage1); }, this.server.chatExecutor); // CraftBukkit - async chat });