mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 03:25:19 +01:00
Strip color when sending messages to the fallback logger
This commit is contained in:
parent
cde2306079
commit
f969e2e52b
@ -25,6 +25,7 @@
|
||||
|
||||
package me.lucko.luckperms.bukkit.compat;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Server;
|
||||
import org.bukkit.command.ConsoleCommandSender;
|
||||
import org.bukkit.conversations.Conversation;
|
||||
@ -68,7 +69,7 @@ public class NullSafeConsoleCommandSender implements ConsoleCommandSender {
|
||||
if (console.isPresent()) {
|
||||
console.get().sendMessage(message);
|
||||
} else {
|
||||
this.server.getLogger().info(message);
|
||||
this.server.getLogger().info(ChatColor.stripColor(message));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user