diff --git a/shared/src/main/java/net/blay09/mods/excompressum/registry/heavysieve/HeavySieveRegistry.java b/shared/src/main/java/net/blay09/mods/excompressum/registry/heavysieve/HeavySieveRegistry.java index 981cdee8..89a1b380 100644 --- a/shared/src/main/java/net/blay09/mods/excompressum/registry/heavysieve/HeavySieveRegistry.java +++ b/shared/src/main/java/net/blay09/mods/excompressum/registry/heavysieve/HeavySieveRegistry.java @@ -26,7 +26,7 @@ private static boolean testRecipe(SieveMeshRegistryEntry mesh, ItemStack itemSta if (recipe.getMinimumMesh() != null) { SieveMeshRegistryEntry minimumMesh = SieveMeshRegistry.getEntry(recipe.getMinimumMesh()); - if (mesh.getMeshLevel() < minimumMesh.getMeshLevel()) { + if (minimumMesh != null && mesh.getMeshLevel() < minimumMesh.getMeshLevel()) { return false; } }