Load BotConfig in BotConfig instead of Config

This commit is contained in:
Teriuihi 2021-09-11 20:14:33 +02:00
parent 85f7896b49
commit 3f588b90b3

View File

@ -62,7 +62,7 @@ public class BotConfig {
verbose = getBoolean("verbose", true);
version = getInt("config-version", 1);
readConfig(Config.class, null);
readConfig(BotConfig.class, null);
try {
configLoader.save(config);
} catch (IOException e) {