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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user