Debug Command Verbose

This commit is contained in:
Ka0rX 2022-08-27 15:54:33 +02:00
parent 75265356ee
commit 4d793e721b
2 changed files with 2 additions and 3 deletions

View File

@ -16,10 +16,9 @@ public class CommandVerbose {
public void reload(ConfigurationSection config) {
values.clear();
for (CommandType type : CommandType.values())
try {
values.put(type, VerboseValue.valueOf(config.getString(UtilityMethods.enumName(type.name()), "TRUE").toUpperCase()));
values.put(type, VerboseValue.valueOf(config.getString(UtilityMethods.ymlName(type.name()), "TRUE").toUpperCase()));
} catch (IllegalArgumentException exception) {
values.put(type, VerboseValue.TRUE);
MMOCore.plugin.getLogger().log(Level.WARNING, "Could not load command verbose action for " + type.name());

View File

@ -76,7 +76,7 @@
<dependency>
<groupId>io.lumine</groupId>
<artifactId>MythicLib-dist</artifactId>
<version>1.4.1-SNAPSHOT</version>
<version>1.4.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>