Merge branch 'main' into lang_de

This commit is contained in:
2022-04-21 23:04:39 +02:00
6 changed files with 42 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ public class Configuration {
public Configuration load(File file) {
this.file = file;
if (file.exists()) try {
LOG.info("Loading configuration from {}",file);
var newVals = (JSONObject) new JSONParser().parse(Files.readString(file.toPath()));
data.putAll(newVals);
} catch (ParseException | IOException e){