From 0fe3d9410e18a2cc76f36a8f171bd4e798a0eb26 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Tue, 6 Dec 2022 12:21:56 +0100 Subject: [PATCH] 1.19.3-rc3 Definitely still 4.5.0 as well --- .../packets/EntityPackets1_19_3.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_1to1_19_3/packets/EntityPackets1_19_3.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_1to1_19_3/packets/EntityPackets1_19_3.java index 994a6ab4..de50ffb3 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_1to1_19_3/packets/EntityPackets1_19_3.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_1to1_19_3/packets/EntityPackets1_19_3.java @@ -96,7 +96,17 @@ public final class EntityPackets1_19_3 extends EntityRewriter { + // Old clients will always keep entity data (packed here as 0x02), nothing we can do there + final byte keepDataMask = wrapper.read(Type.BYTE); + wrapper.write(Type.BOOLEAN, (keepDataMask & 1) != 0); // Keep attributes + }); } });