From 36a57479ebed38af65342c54992f28d39510b714 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sun, 3 Sep 2023 10:23:52 +0700 Subject: [PATCH] fuck you im white (no im not racist) --- .../chayapak/chomens_bot/commands/NetMessageCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/NetMessageCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/NetMessageCommand.java index 1ada31d..808380b 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/NetMessageCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/NetMessageCommand.java @@ -45,7 +45,7 @@ public class NetMessageCommand extends Command { ) ), Component.text(" "), - context.sender.displayName == null ? Component.text(context.sender.profile.getName()) : context.sender.displayName.color(NamedTextColor.GRAY), + context.sender.displayName == null ? Component.text(context.sender.profile.getName()).color(NamedTextColor.GRAY) : context.sender.displayName.color(NamedTextColor.GRAY), Component.text(" "), Component.text(String.join(" ", args)).color(NamedTextColor.GRAY) ).color(NamedTextColor.DARK_GRAY);