Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
Nassim Jahnke 2022-03-30 11:08:33 +02:00
commit c6f25bf33f
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -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;
}