aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java')
-rw-r--r--src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java b/src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java
index bc36c8315..e34a2682e 100644
--- a/src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java
+++ b/src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java
@@ -13,7 +13,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(BrewingRecipeRegistry.class)
public class MixinBrewingRecipeRegistry {
- @Inject(method = "registerPotionRecipe", at = @At("RETURN"))
+ @Inject(method = "registerPotionRecipe", at = @At("HEAD"))
private static void registerPotionRecipe(Potion potion_1, Item item_1, Potion potion_2, CallbackInfo info) {
Core.getListeners(PotionCraftingAdder.class).forEach(potionCraftingAdder -> potionCraftingAdder.addPotionRecipe(potion_1, item_1, potion_2));
}