From f474067eb2355f33be53bec64c3f3dd9308eff31 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Thu, 9 Jun 2022 20:13:36 +0200 Subject: [PATCH] Don't forget to clear --- .../protocol/protocol1_18_2to1_19/packets/EntityPackets1_19.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_18_2to1_19/packets/EntityPackets1_19.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_18_2to1_19/packets/EntityPackets1_19.java index a075a706..c6172779 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_18_2to1_19/packets/EntityPackets1_19.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_18_2to1_19/packets/EntityPackets1_19.java @@ -126,6 +126,7 @@ public final class EntityPackets1_19 extends EntityRewriter { final DimensionRegistryStorage dimensionRegistryStorage = wrapper.user().get(DimensionRegistryStorage.class); + dimensionRegistryStorage.clear(); // Cache dimensions and find current dimension final String dimensionKey = wrapper.read(Type.STRING);