3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-07-03 14:18:03 +02:00

Fix 1.17.1 -> 1.18 mappings loading (#676)

Closes https://github.com/ViaVersion/ViaBackwards/issues/568
Dieser Commit ist enthalten in:
EnZaXD 2024-01-29 20:30:59 +01:00 committet von GitHub
Ursprung 8fc82cd331
Commit 4375a259dd
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -33,6 +33,8 @@ public final class BackwardsMappings extends com.viaversion.viabackwards.api.dat
@Override
protected void loadExtras(final CompoundTag data) {
super.loadExtras(data);
for (final Object2IntMap.Entry<String> entry : Protocol1_18To1_17_1.MAPPINGS.blockEntityIds().object2IntEntrySet()) {
blockEntities.put(entry.getIntValue(), entry.getKey());
}