From c0909d54aad7aaf2b00f4a124e5409e65438317c Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:18:17 +0700 Subject: [PATCH] style fix: i forgor the color change --- .../java/me/chayapak1/chomens_bot/commands/CloopCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/chayapak1/chomens_bot/commands/CloopCommand.java b/src/main/java/me/chayapak1/chomens_bot/commands/CloopCommand.java index 0c6bb2a..a0b8628 100644 --- a/src/main/java/me/chayapak1/chomens_bot/commands/CloopCommand.java +++ b/src/main/java/me/chayapak1/chomens_bot/commands/CloopCommand.java @@ -57,7 +57,7 @@ public class CloopCommand extends Command { return Component.translatable( "Removed cloop %s", - Component.text(cloop.command()).color(ColorUtilities.getColorByString(bot.config.colorPalette.number)) + Component.text(cloop.command()).color(ColorUtilities.getColorByString(bot.config.colorPalette.string)) ).color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor)); } catch (IndexOutOfBoundsException | IllegalArgumentException | NullPointerException ignored) { throw new CommandException(Component.text("Invalid index"));