Load BotConfig in BotConfig instead of Config
This commit is contained in:
parent
85f7896b49
commit
3f588b90b3
|
|
@ -62,7 +62,7 @@ public class BotConfig {
|
||||||
verbose = getBoolean("verbose", true);
|
verbose = getBoolean("verbose", true);
|
||||||
version = getInt("config-version", 1);
|
version = getInt("config-version", 1);
|
||||||
|
|
||||||
readConfig(Config.class, null);
|
readConfig(BotConfig.class, null);
|
||||||
try {
|
try {
|
||||||
configLoader.save(config);
|
configLoader.save(config);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user