From 4375a259dde3107f38c0ee99b447cb2019be0b18 Mon Sep 17 00:00:00 2001 From: EnZaXD <60033407+FlorianMichael@users.noreply.github.com> Date: Mon, 29 Jan 2024 20:30:59 +0100 Subject: [PATCH] Fix 1.17.1 -> 1.18 mappings loading (#676) Closes https://github.com/ViaVersion/ViaBackwards/issues/568 --- .../protocol/protocol1_17_1to1_18/data/BackwardsMappings.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_17_1to1_18/data/BackwardsMappings.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_17_1to1_18/data/BackwardsMappings.java index c8dcfadd..fdf65f30 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_17_1to1_18/data/BackwardsMappings.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_17_1to1_18/data/BackwardsMappings.java @@ -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 entry : Protocol1_18To1_17_1.MAPPINGS.blockEntityIds().object2IntEntrySet()) { blockEntities.put(entry.getIntValue(), entry.getKey()); }