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