Skip to content

Commit

Permalink
Fix inverted equality check in tool repairing
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner authored Feb 14, 2022
1 parent 7edea1b commit bf82a5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public boolean matches(ITinkerStationContainer inv, Level world) {
}

// ensure we have a material
if (repairMaterial.matches(TinkerStationRepairRecipe.getMaterialFrom(inv, i))) {
if (!repairMaterial.matches(TinkerStationRepairRecipe.getMaterialFrom(inv, i))) {
return false;
}
found = true;
Expand Down

0 comments on commit bf82a5e

Please sign in to comment.