From c9dfc739a2b92c8f7dfd1dfb77551bf7ffd0ab89 Mon Sep 17 00:00:00 2001 From: EnZaXD <60033407+FlorianMichael@users.noreply.github.com> Date: Sun, 12 May 2024 09:34:29 +0200 Subject: [PATCH] Change CUSTOM_PAYLOAD handler in 1.10->1.11 to soft fail. (#3844) --- .../protocols/v1_10to1_11/rewriter/ItemPacketRewriter1_11.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/v1_10to1_11/rewriter/ItemPacketRewriter1_11.java b/common/src/main/java/com/viaversion/viaversion/protocols/v1_10to1_11/rewriter/ItemPacketRewriter1_11.java index 8abfe8e60..bdb4f37d1 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/v1_10to1_11/rewriter/ItemPacketRewriter1_11.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/v1_10to1_11/rewriter/ItemPacketRewriter1_11.java @@ -45,7 +45,7 @@ public class ItemPacketRewriter1_11 extends ItemRewriter { + handlerSoftFail(wrapper -> { if (wrapper.get(Types.STRING, 0).equals("MC|TrList")) { wrapper.passthrough(Types.INT); // Passthrough Window ID