Skip to content

Commit

Permalink
fix bug (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
asdflj authored Dec 14, 2022
1 parent 267793b commit 66cac16
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/appeng/crafting/CraftingTreeProcess.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,8 @@ IAEItemStack getAmountCrafted(IAEItemStack what2) {
final boolean perfectMatch = is.getItem() == what2.getItem()
&& (is.getItem().isDamageable() || is.getItemDamage() == what2.getItemDamage());
if (perfectMatch
|| ((this.details != null)
&& (this.details.canSubstitute())
&& is.fuzzyComparison(what2, FuzzyMode.IGNORE_ALL))) {
|| (this.details.canSubstitute() || this.details.canBeSubstitute())
&& is.fuzzyComparison(what2, FuzzyMode.IGNORE_ALL)) {
what2 = is.copy();
what2.setStackSize(is.getStackSize());
return what2;
Expand Down

0 comments on commit 66cac16

Please sign in to comment.