mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2025-02-07 00:22:01 +01:00
Fix 1.17.1 -> 1.18 mappings loading (#676)
Closes https://github.com/ViaVersion/ViaBackwards/issues/568
This commit is contained in:
parent
8fc82cd331
commit
4375a259dd
@ -33,6 +33,8 @@ public final class BackwardsMappings extends com.viaversion.viabackwards.api.dat
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void loadExtras(final CompoundTag data) {
|
protected void loadExtras(final CompoundTag data) {
|
||||||
|
super.loadExtras(data);
|
||||||
|
|
||||||
for (final Object2IntMap.Entry<String> entry : Protocol1_18To1_17_1.MAPPINGS.blockEntityIds().object2IntEntrySet()) {
|
for (final Object2IntMap.Entry<String> entry : Protocol1_18To1_17_1.MAPPINGS.blockEntityIds().object2IntEntrySet()) {
|
||||||
blockEntities.put(entry.getIntValue(), entry.getKey());
|
blockEntities.put(entry.getIntValue(), entry.getKey());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user