Info and Log instead of all uppercase,..,.,

This commit is contained in:
Chayapak 2023-05-04 16:12:16 +07:00
parent da793d178c
commit 7e274145f1

View file

@ -72,7 +72,7 @@ public class LoggerPlugin extends ChatPlugin.Listener {
}
public void log (String _message) {
final String message = prefix(Component.text("LOG").color(NamedTextColor.GOLD), _message);
final String message = prefix(Component.text("Log").color(NamedTextColor.GOLD), _message);
bot.console().reader().printAbove(message);
@ -92,7 +92,7 @@ public class LoggerPlugin extends ChatPlugin.Listener {
}
public void info (String _message) {
final String message = prefix(Component.text("INFO").color(NamedTextColor.GREEN), _message);
final String message = prefix(Component.text("Info").color(NamedTextColor.GREEN), _message);
bot.console().reader().printAbove(message);
}