From b3d6a2e6ba253a53fb9f3480d840a47d5b0a0fbf Mon Sep 17 00:00:00 2001 From: 502647092 Date: Fri, 1 Jul 2016 13:58:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dreload=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- pom.xml | 3 ++- src/main/java/pw/yumc/Yum/commands/YumCommand.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 69406ef..91e5176 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 pw.yumc Yum - 2.4 + 2.4.1 Yum Minecraft 服务器插件管理系统 @@ -60,6 +60,7 @@ &a全新 2.X 版本 更多守护与优化 + &b2.4.1 &6- &c修复reload命令报错的问题...; &b2.4 &6- &c修复重载插件导致线程安全错误的问题...; &b2.3 &6- &a网络监控添加域名白名单功能...; &b2.2 &6- &b新增线程安全拦截 主线程IO拦截...; diff --git a/src/main/java/pw/yumc/Yum/commands/YumCommand.java b/src/main/java/pw/yumc/Yum/commands/YumCommand.java index 01e96c6..c2aa2b9 100644 --- a/src/main/java/pw/yumc/Yum/commands/YumCommand.java +++ b/src/main/java/pw/yumc/Yum/commands/YumCommand.java @@ -214,6 +214,7 @@ public class YumCommand implements HandlerCommands, Listener { if (e.getArgs().length == 0) { ConfigManager.i().reload(); sender.sendMessage("§6重载: §a配置文件已重载!"); + return; } final String pluginname = e.getArgs()[0]; if (pluginname.equalsIgnoreCase("all") || pluginname.equalsIgnoreCase("*")) {