mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 08:14:00 +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
|
||||
public boolean reloadFromDisk(boolean hardFail) {
|
||||
CustomAnvil.instance.saveDefaultConfig();
|
||||
CustomAnvil.instance.reloadConfig();
|
||||
this.configuration = CustomAnvil.instance.getConfig();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue