Skip to content

Commit

Permalink
fix kubejs output replacement not working (#1662)
Browse files Browse the repository at this point in the history
  • Loading branch information
screret authored Aug 7, 2024
1 parent 44574f9 commit 4a6e8b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public InputItem read(RecipeJS recipe, Object from) {
}

@Override
public boolean isInput(RecipeJS recipe, InputItem value, ReplacementMatch match) {
public boolean isOutput(RecipeJS recipe, InputItem value, ReplacementMatch match) {
return match instanceof ItemMatch m && value.validForMatching() && m.contains(value.ingredient);
}

Expand Down

0 comments on commit 4a6e8b9

Please sign in to comment.