style fix: i forgor the color change

This commit is contained in:
ChomeNS
2024-11-14 16:18:17 +07:00
parent 159cb8ce11
commit c0909d54aa

View File

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