diff --git a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/hopper/levels/modules/ModuleAutoCrafting.java b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/hopper/levels/modules/ModuleAutoCrafting.java index f351694..7600f80 100644 --- a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/hopper/levels/modules/ModuleAutoCrafting.java +++ b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/hopper/levels/modules/ModuleAutoCrafting.java @@ -53,6 +53,7 @@ public class ModuleAutoCrafting implements Module { Map items = new HashMap<>(); for (ItemStack item : ingredientMap) { + if (item == null) continue; if (!items.containsKey(item.getType())) { items.put(item.getType(), item.getAmount()); } else {