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")); sender.sendMessage(MsgUtil.p("command.reloading"));
Bukkit.getPluginManager().disablePlugin(plugin); Bukkit.getPluginManager().disablePlugin(plugin);
Bukkit.getPluginManager().enablePlugin(plugin); Bukkit.getPluginManager().enablePlugin(plugin);
plugin.reloadConfig();
return; return;
} }
sender.sendMessage(MsgUtil.p("no-permission")); sender.sendMessage(MsgUtil.p("no-permission"));

View File

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