From fc22d7e6c8ca293cfe95dff77b1ec982601bce99 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Wed, 30 Mar 2022 11:07:38 +0200 Subject: [PATCH] Don't warn for non-horse armor on horses Closes #448 --- .../protocol1_13_2to1_14/packets/BlockItemPackets1_14.java | 1 - 1 file changed, 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/BlockItemPackets1_14.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/BlockItemPackets1_14.java index 1a1c151c..8686b15a 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/BlockItemPackets1_14.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/BlockItemPackets1_14.java @@ -283,7 +283,6 @@ public class BlockItemPackets1_14 extends com.viaversion.viabackwards.api.rewrit Item item = wrapper.read(Type.FLAT_VAR_INT_ITEM); int armorType = item == null || item.identifier() == 0 ? 0 : item.identifier() - 726; if (armorType < 0 || armorType > 3) { - ViaBackwards.getPlatform().getLogger().warning("Received invalid horse armor: " + item); wrapper.cancel(); return; }