More recipematch stuff

This commit is contained in:
Bernhard Bonigl committed 2015-12-30 22:15:32 +01:00
1 parent f66c66fc57
commit 7a692130e7
1 file changed
+5 -1
@@ -73,7 +73,11 @@ public abstract class RecipeMatch {
}
public static RecipeMatch ofNBT(ItemStack stack) {
return new RecipeMatch.ItemCombination(1, stack);
return ofNBT(stack, 1);
}
public static RecipeMatch ofNBT(ItemStack stack, int matched) {
return new RecipeMatch.ItemCombination(matched, stack);
}
/** Removes the match from the stacks */