diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/util/ComponentConverter.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/util/ComponentConverter.java index f78489168..3017dd3e9 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/util/ComponentConverter.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/util/ComponentConverter.java @@ -289,7 +289,7 @@ public final class ComponentConverter { private static void removeComponentType(final JsonObject object) { final JsonElement type = object.remove("type"); - if (!type.isJsonPrimitive()) { + if (type == null || !type.isJsonPrimitive()) { return; }