Load BotConfig in BotConfig instead of Config
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user