From 751e42ad940ee58136343bb48dac5562cb64406b Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 1 Dec 2015 21:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E6=8F=92=E4=BB=B6=E5=AD=98=E5=9C=A8up?= =?UTF-8?q?date=E6=96=87=E4=BB=B6=E5=A4=B9=E4=BD=86=E6=98=AF=E6=9C=AA?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E6=97=B6=20=E8=87=AA=E5=8A=A8=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E6=8F=92=E4=BB=B6...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- src/main/java/cn/citycraft/Yum/manager/PluginsManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/cn/citycraft/Yum/manager/PluginsManager.java b/src/main/java/cn/citycraft/Yum/manager/PluginsManager.java index 75bf112..fd7b063 100644 --- a/src/main/java/cn/citycraft/Yum/manager/PluginsManager.java +++ b/src/main/java/cn/citycraft/Yum/manager/PluginsManager.java @@ -616,9 +616,11 @@ public class PluginsManager { continue; } result = true; - sender.sendMessage("§6升级: §a开始升级 " + name + " 插件!"); if (!unload(sender, name)) { + sender.sendMessage("§6升级: §d开始安装 §b" + name + " §d插件!"); FileUtil.copy(file, new File(Bukkit.getUpdateFolderFile().getParentFile(), File.separatorChar + file.getName())); + } else { + sender.sendMessage("§6升级: §a开始升级 §b" + name + " §a插件!"); } load(sender, name); } catch (final InvalidDescriptionException e) {