1.21 Update

Co-authored-by: RealMangoRage <[email protected]>
Co-authored-by: Daniel Norris <[email protected]>
Co-authored-by: Ven <[email protected]>
This commit is contained in:
committed 2024-06-13 10:42:32 -07:00
1 parent 3d9e12a71d
commit 4a2db246e0
941 files changed
+3119 -4266

No files matched your search

@@ -74,7 +74,7 @@ public class LanguageHook
ResourceManager resourceManager = server.getServerResources().resourceManager();
resourceManager.getNamespaces().forEach(namespace -> {
try {
ResourceLocation langResource = new ResourceLocation(namespace, langFile);
ResourceLocation langResource = ResourceLocation.fromNamespaceAndPath(namespace, langFile);
loadLocaleData(resourceManager.getResourceStack(langResource));
} catch (Exception exception) {
LOGGER.warn("Skipped language file: {}:{}", namespace, langFile, exception);