Skip to content

Commit

Permalink
Update ShapelessRecipeBuilderMixin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Dec 24, 2024
1 parent 6044fa9 commit 9df20eb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import com.llamalad7.mixinextras.injector.wrapoperation.Operation;
import com.llamalad7.mixinextras.injector.wrapoperation.WrapOperation;
import net.frozenblock.lib.recipe.api.ShapedRecipeBuilderExtension;
import net.frozenblock.lib.recipe.api.ShapelessRecipeBuilderExtension;
import net.minecraft.advancements.AdvancementHolder;
import net.minecraft.core.component.DataComponentPatch;
Expand Down Expand Up @@ -55,7 +54,7 @@ public class ShapelessRecipeBuilderMixin implements ShapelessRecipeBuilderExtens
)
)
private void modifySave(RecipeOutput instance, ResourceLocation recipeId, Recipe<?> recipe, AdvancementHolder holder, Operation<ShapedRecipe> operation) {
((ShapedRecipeBuilderExtension) recipe).frozenLib$patch(this.patch);
((ShapelessRecipeBuilderExtension) recipe).frozenLib$patch(this.patch);
operation.call(instance, recipeId, recipe, holder);
}
}

0 comments on commit 9df20eb

Please sign in to comment.