Fixed combination recipe accepting more than one ingredient

This commit is contained in:
Sollace 2021-02-21 20:51:51 +02:00
parent afcd59206c
commit ed08cb27ab

View file

@ -40,7 +40,7 @@ public abstract class ItemCombinationRecipe extends SpecialCraftingRecipe {
bangle = stack; bangle = stack;
} else { } else {
if (!isInsertItem(stack)) { if (!dust.isEmpty() || !isInsertItem(stack)) {
return new Pair<>(bangle, dust); return new Pair<>(bangle, dust);
} }