mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-12-23 05:08:47 +00:00
fix: 修复reload命令报错的问题
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
d62a36815e
commit
b3d6a2e6ba
3
pom.xml
3
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>pw.yumc</groupId>
|
<groupId>pw.yumc</groupId>
|
||||||
<artifactId>Yum</artifactId>
|
<artifactId>Yum</artifactId>
|
||||||
<version>2.4</version>
|
<version>2.4.1</version>
|
||||||
<name>Yum</name>
|
<name>Yum</name>
|
||||||
<description>Minecraft 服务器插件管理系统</description>
|
<description>Minecraft 服务器插件管理系统</description>
|
||||||
<build>
|
<build>
|
||||||
@ -60,6 +60,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<update.description>&a全新 2.X 版本 更多守护与优化</update.description>
|
<update.description>&a全新 2.X 版本 更多守护与优化</update.description>
|
||||||
<update.changes>
|
<update.changes>
|
||||||
|
&b2.4.1 &6- &c修复reload命令报错的问题...;
|
||||||
&b2.4 &6- &c修复重载插件导致线程安全错误的问题...;
|
&b2.4 &6- &c修复重载插件导致线程安全错误的问题...;
|
||||||
&b2.3 &6- &a网络监控添加域名白名单功能...;
|
&b2.3 &6- &a网络监控添加域名白名单功能...;
|
||||||
&b2.2 &6- &b新增线程安全拦截 主线程IO拦截...;
|
&b2.2 &6- &b新增线程安全拦截 主线程IO拦截...;
|
||||||
|
@ -214,6 +214,7 @@ public class YumCommand implements HandlerCommands, Listener {
|
|||||||
if (e.getArgs().length == 0) {
|
if (e.getArgs().length == 0) {
|
||||||
ConfigManager.i().reload();
|
ConfigManager.i().reload();
|
||||||
sender.sendMessage("§6重载: §a配置文件已重载!");
|
sender.sendMessage("§6重载: §a配置文件已重载!");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
final String pluginname = e.getArgs()[0];
|
final String pluginname = e.getArgs()[0];
|
||||||
if (pluginname.equalsIgnoreCase("all") || pluginname.equalsIgnoreCase("*")) {
|
if (pluginname.equalsIgnoreCase("all") || pluginname.equalsIgnoreCase("*")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user