3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-11-20 06:50:10 +01:00
Dieser Commit ist enthalten in:
creeper123123321 2022-10-09 10:56:56 -03:00 committet von GitHub
Ursprung 40047330b4
Commit 4d295fbe2c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -37,7 +37,7 @@ public class TranslatableRewriter extends ComponentRewriter {
protected final Map<String, String> newTranslatables; protected final Map<String, String> newTranslatables;
public static void loadTranslatables() { public static void loadTranslatables() {
JsonObject jsonObject = VBMappingDataLoader.loadData("translation-mappings.json"); JsonObject jsonObject = VBMappingDataLoader.loadFromDataDir("translation-mappings.json");
for (Map.Entry<String, JsonElement> entry : jsonObject.entrySet()) { for (Map.Entry<String, JsonElement> entry : jsonObject.entrySet()) {
Map<String, String> versionMappings = new HashMap<>(); Map<String, String> versionMappings = new HashMap<>();
TRANSLATABLES.put(entry.getKey(), versionMappings); TRANSLATABLES.put(entry.getKey(), versionMappings);