File tree Expand file tree Collapse file tree
java/cn/ningmo/bellcommand/listener Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ private void giveItems(Player player) {
9393 Map <String , String > placeholders = new HashMap <>();
9494 placeholders .put ("player" , player .getName ());
9595 placeholders .put ("item" , item .getName ());
96- plugin .getLogger ().info (plugin .getLanguageManager ().getMessage ("messages.auto-give" , placeholders ));
96+ plugin .getLogger ().info (ColorUtils .translateConsoleColors (
97+ plugin .getLanguageManager ().getMessage ("messages.plugin.auto-give" , placeholders )
98+ ));
9799 }
98100 }
99101 }
Original file line number Diff line number Diff line change @@ -74,8 +74,6 @@ messages:
7474 # 使用限制消息
7575 cooldown : " &e请等待 %time% 秒后再使用"
7676
77- auto-give : " §a[BellCommand] 你获得了命令物品 §6%item%"
78-
7977 # 错误消息
8078 error :
8179 no-permission-use : " &c你没有权限使用此物品"
@@ -126,7 +124,6 @@ messages:
126124 execute-as-player : " §e[调试] 以玩家身份执行命令: §6%command%"
127125 cooldown-start : " §e[调试] 开始计算冷却时间: §6%cooldown%§e秒"
128126 executing : " &a[调试] 玩家 %player% 使用 %type% 触发物品 %item% 的命令"
129- command-result : " &7[调试] 命令执行%result%"
130127
131128 # 更新源调试信息
132129 update :
You can’t perform that action at this time.
0 commit comments