diff --git a/pom.xml b/pom.xml index 032c198..126b022 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 io.github.mooy1 InfinityLib - 1.3.8 + 1.3.9 1.8 diff --git a/src/main/java/io/github/mooy1/infinitylib/machines/MachineRecipeType.java b/src/main/java/io/github/mooy1/infinitylib/machines/MachineRecipeType.java index a8e59ce..0895dce 100644 --- a/src/main/java/io/github/mooy1/infinitylib/machines/MachineRecipeType.java +++ b/src/main/java/io/github/mooy1/infinitylib/machines/MachineRecipeType.java @@ -8,7 +8,6 @@ import lombok.Getter; -import org.apache.commons.lang.Validate; import org.bukkit.inventory.ItemStack; import io.github.mooy1.infinitylib.core.AbstractAddon; @@ -26,10 +25,6 @@ public MachineRecipeType(String key, ItemStack item) { @Override public void register(ItemStack[] recipe, ItemStack result) { - if (recipe == null) return; - for (ItemStack stack : recipe) { - if (stack == null) return; - } callbacks.forEach(c -> c.accept(recipe, result)); recipes.put(recipe, result); }