From ece885753509bc0aa978329d5e5624061c1b3460 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Wed, 21 Dec 2022 10:45:54 +0100 Subject: [PATCH] Handle missed 1.19.3 pose change --- .../protocol1_19_3to1_19_1/packets/EntityPackets.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_3to1_19_1/packets/EntityPackets.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_3to1_19_1/packets/EntityPackets.java index 2d232f2b1..167a89f99 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_3to1_19_1/packets/EntityPackets.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_3to1_19_1/packets/EntityPackets.java @@ -163,6 +163,13 @@ public final class EntityPackets extends EntityRewriter }); registerMetaTypeHandler(Types1_19_3.META_TYPES.itemType, Types1_19_3.META_TYPES.blockStateType, Types1_19_3.META_TYPES.particleType); + filter().index(6).handler((event, meta) -> { + // Sitting pose added + final int pose = meta.value(); + if (pose >= 10) { + meta.setValue(pose + 1); + } + }); filter().filterFamily(Entity1_19_3Types.MINECART_ABSTRACT).index(11).handler((event, meta) -> { // Convert to new block id final int data = (int) meta.getValue();