This commit is contained in:
Nassim Jahnke 2023-12-10 12:16:53 +01:00
parent 2c9affa0e3
commit 4aefc23bb8
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

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