diff --git a/src/main/java/pw/yumc/YumCore/bukkit/Log.java b/src/main/java/pw/yumc/YumCore/bukkit/Log.java index d0f7c09..f95657b 100644 --- a/src/main/java/pw/yumc/YumCore/bukkit/Log.java +++ b/src/main/java/pw/yumc/YumCore/bukkit/Log.java @@ -6,6 +6,7 @@ import java.util.logging.Level; import java.util.logging.Logger; import org.bukkit.Bukkit; +import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; /** @@ -245,7 +246,7 @@ public class Log { * 插件前缀 */ public static void setPrefix(final String prefix) { - Log.prefix = prefix; + Log.prefix = ChatColor.translateAlternateColorCodes('&', prefix); } /**