diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/EntityPackets1_14.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/EntityPackets1_14.java index 8a7f1463..8a88a27e 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/EntityPackets1_14.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/EntityPackets1_14.java @@ -475,7 +475,7 @@ public class EntityPackets1_14 extends LegacyEntityRewriter { @@ -490,6 +490,12 @@ public class EntityPackets1_14 extends LegacyEntityRewriter { + if (meta.metaType().typeId() > 15) { + throw new IllegalArgumentException("Unhandled metadata: " + meta); + } + }); } public int villagerDataToProfession(VillagerData data) {