Skip to content

Commit

Permalink
Fix pr issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooy1 committed Sep 18, 2021
1 parent 417f738 commit 7e03c79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.mooy1</groupId>
<artifactId>InfinityLib</artifactId>
<version>1.3.8</version>
<version>1.3.9</version>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
}
Expand Down

0 comments on commit 7e03c79

Please sign in to comment.