Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Keep all 1.12 translation mappings cached
Dieser Commit ist enthalten in:
Ursprung
ad56caeb88
Commit
9ccc3aed30
@ -115,14 +115,12 @@ public class MappingData extends MappingDataBase {
|
||||
}
|
||||
|
||||
String key = keyAndTranslation[0];
|
||||
if (!translateData.containsKey(key)) {
|
||||
String translation = keyAndTranslation[1].replaceAll("%(\\d\\$)?d", "%$1s");
|
||||
mojangTranslation.put(key, translation);
|
||||
} else {
|
||||
String dataValue = translateData.get(key);
|
||||
if (dataValue != null) {
|
||||
translateMapping.put(key, dataValue);
|
||||
}
|
||||
String translation = keyAndTranslation[1].replaceAll("%(\\d\\$)?d", "%$1s").trim();
|
||||
mojangTranslation.put(key, translation);
|
||||
|
||||
String dataValue = translateData.get(key);
|
||||
if (dataValue != null) {
|
||||
translateMapping.put(key, dataValue);
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren