修复汉化条目错误问题...

master
502647092 2015-12-16 09:46:30 +08:00
parent ceecead23a
commit 7e4faac7df
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>cn.citycraft</groupId>
<artifactId>ResExtras</artifactId>
<version>1.1</version>
<version>1.1.1</version>
<name>ResExtras</name>
<description>领地扩展</description>
<build>
@ -55,7 +55,7 @@
</build>
<properties>
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
<update.description>&amp;c汉化提示条目 优化检测流程...</update.description>
<update.description>&amp;c原谅我太傻逼 已经修复汉化条目null的问题了...</update.description>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>

View File

@ -1,6 +1,7 @@
package cn.citycraft.ResExtras;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
@ -72,7 +73,7 @@ public class ResExtras extends JavaPlugin implements CommandExecutor {
public static String pluginname;
public static void sendMessage(final CommandSender sender, final String path) {
sender.sendMessage(pluginname + config.getMessage("§cMessage." + path));
sender.sendMessage(pluginname + ChatColor.RED + config.getMessage("Message." + path));
}
@Override