1
0
mirror of https://e.coding.net/circlecloud/QuickShop.git synced 2024-11-22 01:58:54 +00:00

move reloadConfig to reload...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092 2015-10-05 02:27:09 +08:00
parent e61daeb989
commit d870528b7f
2 changed files with 1 additions and 2 deletions

View File

@ -384,6 +384,7 @@ public class QS implements CommandExecutor {
sender.sendMessage(MsgUtil.p("command.reloading"));
Bukkit.getPluginManager().disablePlugin(plugin);
Bukkit.getPluginManager().enablePlugin(plugin);
plugin.reloadConfig();
return;
}
sender.sendMessage(MsgUtil.p("no-permission"));

View File

@ -205,7 +205,6 @@ public class QuickShop extends JavaPlugin {
e.printStackTrace();
}
this.warnings.clear();
this.reloadConfig();
}
@Override
@ -222,7 +221,6 @@ public class QuickShop extends JavaPlugin {
if (loadEcon() == false) {
return;
}
// Initialize Util
Util.initialize();
ItemConfig.load(this);