mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-11-25 02:18:50 +00:00
fix: 修复命令前缀颜色
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
894fa0e3a6
commit
ecc149875b
@ -6,6 +6,7 @@ import java.util.logging.Level;
|
|||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -245,7 +246,7 @@ public class Log {
|
|||||||
* 插件前缀
|
* 插件前缀
|
||||||
*/
|
*/
|
||||||
public static void setPrefix(final String prefix) {
|
public static void setPrefix(final String prefix) {
|
||||||
Log.prefix = prefix;
|
Log.prefix = ChatColor.translateAlternateColorCodes('&', prefix);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user