Skip to content

Commit

Permalink
Fix mixin conflict (closes #1617).
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <[email protected]>
  • Loading branch information
qyl27 committed Jan 15, 2025
1 parent aec6812 commit ddf420b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ public abstract class AnvilMenuMixin extends ItemCombinerMixin implements AnvilM
this.sendAllDataToRemote();
}

@ModifyConstant(method = "createResult", constant = @Constant(intValue = 40))
@ModifyConstant(method = "createResult", constant = @Constant(intValue = 40), require = 0)
private int arclight$maximumRepairCost(int i) {
return i - 40 + maximumRepairCost;
}

@ModifyConstant(method = "createResult", constant = @Constant(intValue = 39))
@ModifyConstant(method = "createResult", constant = @Constant(intValue = 39), require = 0)
private int arclight$maximumRepairCost2(int i) {
return i - 40 + maximumRepairCost;
}
Expand Down

0 comments on commit ddf420b

Please sign in to comment.