diff --git a/patches/server/Adventure.patch b/patches/server/Adventure.patch index f7ef5adca7..f09fdcf28b 100644 --- a/patches/server/Adventure.patch +++ b/patches/server/Adventure.patch @@ -2137,7 +2137,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 - callback.accept(message.withUnsignedContent(component)); + // Paper start + CompletableFuture componentFuture = chatDecorator.decorate(source.getPlayer(), source, message.decoratedContent()); -+ source.getChatMessageChainer().append(() -> componentFuture.thenAccept((result) -> callback.accept(message.withUnsignedContent(result.component())))); ++ source.getChatMessageChainer().append(componentFuture, (result) -> callback.accept(message.withUnsignedContent(result.component()))); + // Paper end }