From e3cd47323c669a2a00dc49a13d289201344c343b Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 15 Sep 2015 09:20:46 +0800 Subject: [PATCH] update PluginHelper... --- .../java/cn/citycraft/SimpleEssential/SimpleEssential.java | 4 ++-- .../java/cn/citycraft/SimpleEssential/command/CommandGc.java | 4 ++-- src/main/java/cn/citycraft/SimpleEssential/config/I18n.java | 2 +- src/main/resources/language.yml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/cn/citycraft/SimpleEssential/SimpleEssential.java b/src/main/java/cn/citycraft/SimpleEssential/SimpleEssential.java index bbaebe6..fb67272 100644 --- a/src/main/java/cn/citycraft/SimpleEssential/SimpleEssential.java +++ b/src/main/java/cn/citycraft/SimpleEssential/SimpleEssential.java @@ -13,6 +13,8 @@ import org.bukkit.entity.Player; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; +import cn.citycraft.PluginHelper.config.FileConfig; +import cn.citycraft.PluginHelper.utils.VersionChecker; import cn.citycraft.SimpleEssential.command.BaseCommand; import cn.citycraft.SimpleEssential.command.CommandBack; import cn.citycraft.SimpleEssential.command.CommandEnchantBench; @@ -33,8 +35,6 @@ import cn.citycraft.SimpleEssential.command.CommandWorld; import cn.citycraft.SimpleEssential.config.I18n; import cn.citycraft.SimpleEssential.listen.PlayerLocationListen; import cn.citycraft.SimpleEssential.teleport.TeleportControl; -import cn.citycraft.config.FileConfig; -import cn.citycraft.utils.VersionChecker; /** * 简单基础插件 diff --git a/src/main/java/cn/citycraft/SimpleEssential/command/CommandGc.java b/src/main/java/cn/citycraft/SimpleEssential/command/CommandGc.java index 6dcf089..a698108 100644 --- a/src/main/java/cn/citycraft/SimpleEssential/command/CommandGc.java +++ b/src/main/java/cn/citycraft/SimpleEssential/command/CommandGc.java @@ -8,10 +8,10 @@ import org.bukkit.World; import org.bukkit.command.CommandException; import org.bukkit.command.CommandSender; +import cn.citycraft.PluginHelper.utils.StringUtil; +import cn.citycraft.PluginHelper.utils.SystemUtil; import cn.citycraft.SimpleEssential.SimpleEssential; import cn.citycraft.SimpleEssential.config.I18n; -import cn.citycraft.utils.StringUtil; -import cn.citycraft.utils.SystemUtil; /** * 传送到顶部命令 diff --git a/src/main/java/cn/citycraft/SimpleEssential/config/I18n.java b/src/main/java/cn/citycraft/SimpleEssential/config/I18n.java index fb5e3f9..aad745b 100644 --- a/src/main/java/cn/citycraft/SimpleEssential/config/I18n.java +++ b/src/main/java/cn/citycraft/SimpleEssential/config/I18n.java @@ -2,7 +2,7 @@ package cn.citycraft.SimpleEssential.config; import org.bukkit.plugin.Plugin; -import cn.citycraft.config.FileConfig; +import cn.citycraft.PluginHelper.config.FileConfig; public class I18n { private static String CONFIG_NAME = "language.yml"; diff --git a/src/main/resources/language.yml b/src/main/resources/language.yml index 3dc7be2..ce2ba2d 100644 --- a/src/main/resources/language.yml +++ b/src/main/resources/language.yml @@ -34,11 +34,11 @@ Hat: enjoy: '§2享受你的新帽子吧!' Gc: runTime: '§6运行时间: §a%s' - Processors: '§6CPU核心: §a%s' + Processors: '§6CPU 核心: §a%s' maxMem: '§6最大内存: §a%s' totalMem: '§6已用内存: §a%s' freeMem: '§6空闲内存: §a%s' World: title: '§6当前服务器的启用的世界如下' - info: '§a%s §3-- §a%s §6区块: §a%s §6实体数: §a%s §6玩家数: §a%s' + info: '§a%s §3- §a%s §6区块: §a%s §6实体: §a%s §6玩家: §a%s' unknow: '§c未知的世界 §a%s' \ No newline at end of file