From 4d295fbe2c00bd8de863fbbe1b5fa5565b38a5a4 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Sun, 9 Oct 2022 10:56:56 -0300 Subject: [PATCH] fix #410 (#499) --- .../viabackwards/api/rewriters/TranslatableRewriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/TranslatableRewriter.java b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/TranslatableRewriter.java index 36f5cf7b..cdc4f22d 100644 --- a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/TranslatableRewriter.java +++ b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/TranslatableRewriter.java @@ -37,7 +37,7 @@ public class TranslatableRewriter extends ComponentRewriter { protected final Map newTranslatables; public static void loadTranslatables() { - JsonObject jsonObject = VBMappingDataLoader.loadData("translation-mappings.json"); + JsonObject jsonObject = VBMappingDataLoader.loadFromDataDir("translation-mappings.json"); for (Map.Entry entry : jsonObject.entrySet()) { Map versionMappings = new HashMap<>(); TRANSLATABLES.put(entry.getKey(), versionMappings);