mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 12:00:59 +00:00
VerboseConfig defaults to true if not set
This commit is contained in:
parent
7cedac0980
commit
3231b31282
1 changed files with 11 additions and 1 deletions
|
@ -462,7 +462,17 @@ public class DisguiseConfig {
|
|||
}
|
||||
}
|
||||
|
||||
boolean verbose = config.getBoolean("VerboseConfig");
|
||||
boolean verbose;
|
||||
|
||||
if (config.contains("VerboseConfig")) {
|
||||
verbose = config.getBoolean("VerboseConfig");
|
||||
} else {
|
||||
DisguiseUtilities.getLogger()
|
||||
.info("As 'VerboseConfig' hasn't been set, it is assumed true. Set it in your config to remove " +
|
||||
"these messages!");
|
||||
verbose = true;
|
||||
}
|
||||
|
||||
boolean changed = config.getBoolean("ChangedConfig");
|
||||
|
||||
if (!verbose) {
|
||||
|
|
Loading…
Reference in a new issue