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