forked from ChomeNS/chomens-bot-java
Info and Log instead of all uppercase,..,.,
This commit is contained in:
parent
da793d178c
commit
7e274145f1
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue