1
0
mirror of https://e.coding.net/circlecloud/YumCore.git synced 2024-11-21 01:38:51 +00:00

fix: 修复命令前缀颜色

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-10-02 22:50:32 +08:00
parent 894fa0e3a6
commit ecc149875b

View File

@ -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);
}
/**