mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
fix config.yml not saving default when absent
This commit is contained in:
parent
f7841ce562
commit
47d8efda78
1 changed files with 1 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ public abstract class ConfigHolder {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean reloadFromDisk(boolean hardFail) {
|
public boolean reloadFromDisk(boolean hardFail) {
|
||||||
|
CustomAnvil.instance.saveDefaultConfig();
|
||||||
CustomAnvil.instance.reloadConfig();
|
CustomAnvil.instance.reloadConfig();
|
||||||
this.configuration = CustomAnvil.instance.getConfig();
|
this.configuration = CustomAnvil.instance.getConfig();
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue