More biome config update

This commit is contained in:
Aleksey 2020-09-22 17:28:05 +03:00
parent 9eb993f154
commit 9e5372ee62
2 changed files with 12 additions and 0 deletions

View file

@ -41,4 +41,10 @@ public class BiomeConfig extends Config {
this.configKeeper.toJson(configWriter.getConfig());
this.configWriter.saveConfig();
}
static {
if (!BIOME_CONFIG_DIR.toFile().exists()) {
BIOME_CONFIG_DIR.toFile().mkdir();
}
}
}