diff --git a/src/main/java/me/chayapak1/chomens_bot/commands/TestCommand.java b/src/main/java/me/chayapak1/chomens_bot/commands/TestCommand.java index 6b687100..3270e63d 100644 --- a/src/main/java/me/chayapak1/chomens_bot/commands/TestCommand.java +++ b/src/main/java/me/chayapak1/chomens_bot/commands/TestCommand.java @@ -21,10 +21,11 @@ public class TestCommand extends Command { public Component execute (final CommandContext context) throws CommandException { return Component.translatable( "commands.test.output", + NamedTextColor.GREEN, Component.text(context.sender.profile.getName()), Component.text(context.sender.profile.getIdAsString()), Component.text(context.prefix), Component.text(context.getString(true, false)) - ).color(NamedTextColor.GREEN); + ); } }