From 073488abcf2d041ef7abc1e80153028e1b4e6a6f Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Mon, 12 Feb 2024 10:46:19 +0100 Subject: [PATCH] Update template --- .../rewriter/EntityPacketRewriter1_20_5.java | 6 +++--- .../viabackwards/template/protocol/Protocol1_98To1_99.java | 3 +-- .../protocol/rewriter/BlockItemPacketRewriter1_99.java | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_3to1_20_5/rewriter/EntityPacketRewriter1_20_5.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_3to1_20_5/rewriter/EntityPacketRewriter1_20_5.java index bcf2062e..209699a1 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_3to1_20_5/rewriter/EntityPacketRewriter1_20_5.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_3to1_20_5/rewriter/EntityPacketRewriter1_20_5.java @@ -68,7 +68,7 @@ public final class EntityPacketRewriter1_20_5 extends EntityRewriter(this).register(ClientboundPackets1_20_5.STATISTICS); + new AttributeRewriter<>(this).register1_20_5(ClientboundPackets1_20_5.ENTITY_PROPERTIES); // Registers translatable mappings (missing a whole bunch still) //translatableRewriter.registerOpenWindow(ClientboundPackets1_20_5.OPEN_WINDOW); // Handled by registerOpenWindow in item rewriters @@ -83,8 +84,6 @@ public final class Protocol1_98To1_99 extends BackwardsProtocol(protocol).register1_20_5(ClientboundPackets1_20_5.DECLARE_RECIPES); }