From c6ac4542f14ce233b45f66eaf4f76177c0b56807 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Tue, 3 Dec 2024 23:16:26 +0100 Subject: [PATCH] Remove unnecessary container set data handler --- .../protocol/template/BlockItemPacketRewriter1_99.java | 1 - .../v1_21_4to1_21_2/rewriter/BlockItemPacketRewriter1_21_4.java | 1 - 2 files changed, 2 deletions(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/template/BlockItemPacketRewriter1_99.java b/common/src/main/java/com/viaversion/viabackwards/protocol/template/BlockItemPacketRewriter1_99.java index 7aaded18..f06d1994 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/template/BlockItemPacketRewriter1_99.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/template/BlockItemPacketRewriter1_99.java @@ -59,7 +59,6 @@ final class BlockItemPacketRewriter1_99 extends BackwardsStructuredItemRewriter< registerAdvancements1_20_3(ClientboundPackets1_21_2.UPDATE_ADVANCEMENTS); registerSetEquipment(ClientboundPackets1_21_2.SET_EQUIPMENT); registerMerchantOffers1_20_5(ClientboundPackets1_21_2.MERCHANT_OFFERS); - registerContainerSetData(ClientboundPackets1_21_2.CONTAINER_SET_DATA); registerContainerClick1_21_2(ServerboundPackets1_21_2.CONTAINER_CLICK); registerSetCreativeModeSlot(ServerboundPackets1_21_2.SET_CREATIVE_MODE_SLOT); diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_4to1_21_2/rewriter/BlockItemPacketRewriter1_21_4.java b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_4to1_21_2/rewriter/BlockItemPacketRewriter1_21_4.java index 790ad5b8..701bdf84 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_4to1_21_2/rewriter/BlockItemPacketRewriter1_21_4.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_4to1_21_2/rewriter/BlockItemPacketRewriter1_21_4.java @@ -76,7 +76,6 @@ public final class BlockItemPacketRewriter1_21_4 extends BackwardsStructuredItem registerAdvancements1_20_3(ClientboundPackets1_21_2.UPDATE_ADVANCEMENTS); registerSetEquipment(ClientboundPackets1_21_2.SET_EQUIPMENT); registerMerchantOffers1_20_5(ClientboundPackets1_21_2.MERCHANT_OFFERS); - registerContainerSetData(ClientboundPackets1_21_2.CONTAINER_SET_DATA); registerContainerClick1_21_2(ServerboundPackets1_21_2.CONTAINER_CLICK); registerSetCreativeModeSlot(ServerboundPackets1_21_2.SET_CREATIVE_MODE_SLOT);