mirror of
https://github.com/filoghost/ChestCommands.git
synced 2024-11-29 05:26:15 +01:00
Fix error messages
This commit is contained in:
parent
1e25963c06
commit
1f389febf1
@ -69,7 +69,7 @@ public class ConfigManager {
|
||||
langConfigLoader.createDefault(baseDataPath);
|
||||
lang.load(langConfigLoader);
|
||||
} catch (Throwable t) {
|
||||
logConfigLoadException(settingsConfigLoader, t);
|
||||
logConfigLoadException(langConfigLoader, t);
|
||||
}
|
||||
|
||||
return lang;
|
||||
@ -83,7 +83,7 @@ public class ConfigManager {
|
||||
Config placeholdersConfig = placeholdersConfigLoader.load();
|
||||
placeholders.load(placeholdersConfig, errorCollector);
|
||||
} catch (Throwable t) {
|
||||
logConfigLoadException(settingsConfigLoader, t);
|
||||
logConfigLoadException(placeholdersConfigLoader, t);
|
||||
}
|
||||
|
||||
return placeholders;
|
||||
|
Loading…
Reference in New Issue
Block a user