mirror of
https://e.coding.net/circlecloud/ResExtras.git
synced 2024-12-26 16:18:45 +00:00
修复汉化条目错误问题...
This commit is contained in:
parent
ceecead23a
commit
7e4faac7df
4
pom.xml
4
pom.xml
@ -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>&c汉化提示条目 优化检测流程...</update.description>
|
||||
<update.description>&c原谅我太傻逼 已经修复汉化条目null的问题了...</update.description>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<repositories>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user