diff --git a/src/main/java/com/meteor/extrabotany/common/items/lens/LensSmelt.java b/src/main/java/com/meteor/extrabotany/common/items/lens/LensSmelt.java index ccb8cad3..2c059e3b 100644 --- a/src/main/java/com/meteor/extrabotany/common/items/lens/LensSmelt.java +++ b/src/main/java/com/meteor/extrabotany/common/items/lens/LensSmelt.java @@ -55,7 +55,7 @@ public boolean collideBurst(IManaBurst burst, RayTraceResult rtr, boolean isMana IRecipe irecipe = world.getRecipeManager().getRecipe(IRecipeType.SMELTING, new Inventory(new ItemStack(block)),world).orElse(null); - if(!irecipe.getRecipeOutput().isEmpty()) { + if(irecipe != null || !irecipe.getRecipeOutput().isEmpty()) { world.removeBlock(collidePos, false); if (ConfigHandler.COMMON.blockBreakParticles.get()) {