This commit is contained in:
Chayapak 2023-08-30 21:16:18 +07:00
parent 1d6a21996b
commit 92aaa277d9

View file

@ -34,7 +34,8 @@ public class BotVisibilityCommand extends Command {
bot.chat.send("/essentials:vanish " + disableOrEnable);
return Component.empty()
.append(Component.text("The bot's visibility is now "))
.append(Component.text(visibleOrInvisible).color(greenOrGold));
.append(Component.text(visibleOrInvisible).color(greenOrGold))
.color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor));
} else {
switch (args[0]) {
case "on", "true" -> {