fix: 修复reload命令报错的问题

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
2016-07-01 13:58:08 +08:00
parent d62a36815e
commit b3d6a2e6ba
2 changed files with 3 additions and 1 deletions

View File

@ -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("*")) {