patch sus?

This commit is contained in:
ChomeNS
2023-04-28 11:08:51 +07:00
parent 3d03932e96
commit 9610850424
2 changed files with 14 additions and 12 deletions

View File

@@ -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);