From 9610850424dfda31619a66f4d8746defee0f7be1 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Fri, 28 Apr 2023 11:08:51 +0700 Subject: [PATCH] patch sus? --- .idea/workspace.xml | 22 +++++++++---------- .../commands/NetMessageCommand.java | 4 +++- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5431589..5f9d5cb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,7 @@ - @@ -480,7 +479,8 @@ - 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 3c6c362..f829859 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 @@ -44,7 +44,7 @@ public class NetMessageCommand implements Command { final String hostAndPort = bot.host() + ":" + bot.port(); final Component component = Component.translatable( - "[%s] %s › %s", + "[%s]%s%s%s› %s", Component .text(hostAndPort) .color(NamedTextColor.GRAY) @@ -57,7 +57,9 @@ public class NetMessageCommand implements Command { .append(Component.text("Click here to copy the server host and port to your clipboard").color(NamedTextColor.GREEN)) ) ), + Component.text(" "), Component.text(context.sender().profile().getName()).color(NamedTextColor.GRAY), + Component.text(" "), Component.text(String.join(" ", args)).color(NamedTextColor.GRAY) ).color(NamedTextColor.DARK_GRAY);