From df72aec09dd49459b186a6d9cae03e4d6ba35fbb Mon Sep 17 00:00:00 2001 From: 502647092 Date: Thu, 24 Dec 2015 09:23:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E9=94=AE=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BA=A7=E7=94=9F=E7=9A=84=E6=8A=A5=E9=94=99...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 4 ++-- src/main/java/cn/citycraft/Yum/api/YumAPI.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 6c5bfae..f083d6d 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 cn.citycraft Yum - 1.9 + 1.9.1 Yum Minecraft 服务器插件管理系统 @@ -55,7 +55,7 @@ http://ci.citycraft.cn:8080 - &c添加File文件操作命令... + &c修复一键更新产生的报错... Debug UTF-8 diff --git a/src/main/java/cn/citycraft/Yum/api/YumAPI.java b/src/main/java/cn/citycraft/Yum/api/YumAPI.java index f8d3398..7730c3b 100644 --- a/src/main/java/cn/citycraft/Yum/api/YumAPI.java +++ b/src/main/java/cn/citycraft/Yum/api/YumAPI.java @@ -247,7 +247,6 @@ public class YumAPI { sender.sendMessage("§d一键更新: §a开始更新" + updateplugin.getName() + "!"); updatefromyum(sender, updateplugin, null, true); } - UpdatePlugin.getList().clear(); sender.sendMessage("§d一键更新: §e已下载所有需要升级的插件到 服务器更新 文件夹"); sender.sendMessage("§d一键更新: §e插件将在重启后自动更新(或使用§b/yum upgrade§e直接升级)!"); } else {