Fixed /f reload issue, with /f perms
This commit is contained in:
parent
909c2b9a9f
commit
7ecc09f64d
@ -358,7 +358,7 @@ public class SavageFactions extends MPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
private void changeItemIDSInConfig() {
|
||||
public void changeItemIDSInConfig() {
|
||||
log("Starting conversion of legacy material in config to 1.13 materials.");
|
||||
|
||||
replaceStringInConfig("fperm-gui.relation.materials.recruit", "WOOD_SWORD", "WOODEN_SWORD");
|
||||
|
@ -26,7 +26,9 @@ public class CmdReload extends FCommand {
|
||||
public void perform() {
|
||||
long timeInitStart = System.currentTimeMillis();
|
||||
Conf.load();
|
||||
Conf.save();
|
||||
SavageFactions.plugin.reloadConfig();
|
||||
SavageFactions.plugin.changeItemIDSInConfig();
|
||||
SavageFactions.plugin.loadLang();
|
||||
int version = Integer.parseInt(ReflectionUtils.PackageType.getServerVersion().split("_")[1]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user