diff --git a/src/main/java/io/github/seggan/sfcalc/Calculator.java b/src/main/java/io/github/seggan/sfcalc/Calculator.java index 3bbebe9..126f51d 100644 --- a/src/main/java/io/github/seggan/sfcalc/Calculator.java +++ b/src/main/java/io/github/seggan/sfcalc/Calculator.java @@ -151,6 +151,7 @@ private SlimefunItemStack getNextItem(Map map) { if(entry.getKey() instanceof SlimefunItemStack) { SlimefunItemStack ingredient = (SlimefunItemStack)entry.getKey(); if (!plugin.getBlacklistedIds().contains(ingredient.getItemId()) && + ingredient.getItem() != null && !plugin.getBlacklistedRecipes().contains(ingredient.getItem().getRecipeType())) { if(entry.getValue() > 0) { return ingredient;