9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-28 11:09:11 +00:00

fix: bad ConfigProvider logic

This commit is contained in:
William
2024-01-26 00:00:18 +00:00
parent df0bd7a7cb
commit 350a8b864d
2 changed files with 2 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ public interface ConfigProvider {
);
// Read existing locales if present
final Path path = getConfigDirectory().resolve(String.format("messages-%s.yml", getSettings().getLanguage()));
if (!Files.exists(path)) {
if (Files.exists(path)) {
setLocales(store.load(path));
return;
}