diff --git a/src/main/java/net/minecraftforge/fml/common/registry/GameData.java b/src/main/java/net/minecraftforge/fml/common/registry/GameData.java index 9745f1257..514c08bd4 100644 --- a/src/main/java/net/minecraftforge/fml/common/registry/GameData.java +++ b/src/main/java/net/minecraftforge/fml/common/registry/GameData.java @@ -1010,7 +1010,7 @@ public class GameData { .put("minecraft:items", Item.class).build()); private void findSuperTypes(Class type, Set> types) { - if (type == Object.class) { + if (type == null || type == Object.class) { return; } types.add(type);