fix: add formatting to component

This commit is contained in:
Erica Marigold 2024-01-01 11:29:03 +05:30 committed by GitHub
parent bb89768cf0
commit 6e3dbd1e16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,6 @@ public class PlayerListMixin {
// for connection // for connection
this.currentFormattingStyle = ChatFormatting.DARK_RED; this.currentFormattingStyle = ChatFormatting.DARK_RED;
return component.copy(); return component.copy().withStyle(currentChatFormattingStyle);
} }
} }