fix one hardcoded color

This commit is contained in:
ChomeNS
2023-05-14 08:13:36 +07:00
parent c84b9ea8c3
commit 5c91070790

View File

@@ -69,8 +69,8 @@ public class TrustedPlugin extends PlayersPlugin.Listener {
broadcast(
Component.translatable(
"Trusted player %s is now online",
Component.text(target.profile().getName()).color(NamedTextColor.GREEN)
),
Component.text(target.profile().getName()).color(ColorUtilities.getColorByString(bot.config().colorPalette().username()))
).color(ColorUtilities.getColorByString(bot.config().colorPalette().defaultColor())),
target.profile().getId()
);
}