Update biome config
This commit is contained in:
parent
d382a965e9
commit
9eb993f154
2 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,10 @@ public class ConfigWriter {
|
|||
private JsonObject configObject;
|
||||
private File configFile;
|
||||
|
||||
public JsonObject getConfig() {
|
||||
return configObject;
|
||||
}
|
||||
|
||||
public JsonObject loadConfig(File configFile) {
|
||||
this.configFile = configFile;
|
||||
if (configObject == null) {
|
||||
|
|
|
@ -38,6 +38,7 @@ public class BiomeConfig extends Config {
|
|||
|
||||
@Override
|
||||
public void saveChanges() {
|
||||
this.configKeeper.toJson(configWriter.getConfig());
|
||||
this.configWriter.saveConfig();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue