From fccd5b3f3b0c083f4dfda82d070c93a9076e9a86 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Sun, 7 Apr 2024 13:41:51 +0200 Subject: [PATCH] Fix trade list handling --- .../api/rewriters/BackwardsItemRewriter.java | 12 ++---------- .../Protocol1_13_1To1_13_2.java | 5 +---- .../Protocol1_13To1_13_1.java | 5 +---- .../packets/BlockItemPackets1_20.java | 5 +---- .../Protocol1_20_2To1_20_3.java | 6 +----- .../rewriter/BlockItemPacketRewriter1_20_5.java | 16 +++++++--------- .../rewriter/BlockItemPacketRewriter1_20_2.java | 6 +----- .../rewriter/BlockItemPacketRewriter1_99.java | 2 +- .../rewriter/EntityPacketRewriter1_99.java | 1 + 9 files changed, 16 insertions(+), 42 deletions(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/BackwardsItemRewriter.java b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/BackwardsItemRewriter.java index f74f2637..35b4a34e 100644 --- a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/BackwardsItemRewriter.java +++ b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/BackwardsItemRewriter.java @@ -134,11 +134,7 @@ public class BackwardsItemRewriter