diff --git a/src/main/java/me/pikamug/localelib/LocaleKeys.java b/src/main/java/me/pikamug/localelib/LocaleKeys.java index 3580a5f..4f62e37 100644 --- a/src/main/java/me/pikamug/localelib/LocaleKeys.java +++ b/src/main/java/me/pikamug/localelib/LocaleKeys.java @@ -1019,6 +1019,13 @@ public static Map loadTranslations() throws IOException { Map dictionary = new HashMap<>(); while (matchingResources.hasNext()) { String resource = matchingResources.next(); + + if (resource.endsWith("_all.json") + || resource.endsWith("_list.json") + || resource.endsWith("deprecated.json")) { + continue; + } + try (InputStream inputStream = classLoader.getResourceAsStream(resource)) { if (resource.endsWith(".json")) { dictionary = loadJsonFile(inputStream);