Skip to content

Commit

Permalink
unpatches thing that didn't need to be patched that borked everything…
Browse files Browse the repository at this point in the history
… when i patched it https://xkcd.com/424/
  • Loading branch information
ByThePowerOfScience committed Nov 6, 2022
1 parent 920709d commit c2fe99f
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
@Mixin(OvenRecipe.class)
public abstract class MOvenRecipe {

@Redirect(
remap = false,
method = "isValid",
at = @At(
target = "Lcom/bewitchment/Util;canMerge(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z",
value = "INVOKE"
)
)
private boolean fixSwappedParams(ItemStack stack0, ItemStack stack1) {
return Util.canMerge(stack1, stack0);
}
// @Redirect(
// remap = false,
// method = "isValid",
// at = @At(
// target = "Lcom/bewitchment/Util;canMerge(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z",
// value = "INVOKE"
// )
// )
// private boolean fixSwappedParams(ItemStack stack0, ItemStack stack1) {
// return Util.canMerge(stack1, stack0);
// }
//
@Redirect(
remap = false,
method="giveOutput",
Expand Down

0 comments on commit c2fe99f

Please sign in to comment.