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:
parent
e61daeb989
commit
d870528b7f
@ -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"));
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user