From 6e3dbd1e1630bf792bd70b4f164611a81fefbdc6 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 1 Jan 2024 11:29:03 +0530 Subject: [PATCH] fix: add formatting to component --- src/main/java/xyz/devcomp/mixin/PlayerListMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/xyz/devcomp/mixin/PlayerListMixin.java b/src/main/java/xyz/devcomp/mixin/PlayerListMixin.java index 034bccb..6ef707e 100644 --- a/src/main/java/xyz/devcomp/mixin/PlayerListMixin.java +++ b/src/main/java/xyz/devcomp/mixin/PlayerListMixin.java @@ -42,6 +42,6 @@ public class PlayerListMixin { // for connection this.currentFormattingStyle = ChatFormatting.DARK_RED; - return component.copy(); + return component.copy().withStyle(currentChatFormattingStyle); } }