Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-20 06:50:10 +01:00
Ursprung
40047330b4
Commit
4d295fbe2c
@ -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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren