Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-09-07 13:22:54 +02:00
Load legacy mappings from dir if present
Dieser Commit ist enthalten in:
Ursprung
345d78976a
Commit
0cb41c970b
@ -37,7 +37,7 @@ public abstract class LegacyBlockItemRewriter<T extends BackwardsProtocol> exten
|
||||
protected final Map<Integer, MappedLegacyBlockItem> replacementData;
|
||||
|
||||
static {
|
||||
JsonObject jsonObject = VBMappingDataLoader.loadData("legacy-mappings.json");
|
||||
JsonObject jsonObject = VBMappingDataLoader.loadFromDataDir("legacy-mappings.json");
|
||||
for (Map.Entry<String, JsonElement> entry : jsonObject.entrySet()) {
|
||||
Map<Integer, MappedLegacyBlockItem> mappings = new HashMap<>();
|
||||
LEGACY_MAPPINGS.put(entry.getKey(), mappings);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren