Load BotConfig in BotConfig instead of Config
This commit is contained in:
1 parent
85f7896b49
commit
3f588b90b3
1 file changed
+1
-1
@@ -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