From 63fdcc76da7e2d7cbd79d327c6dd72404708f64f Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 5 Jan 2019 22:14:37 +0800 Subject: Buggy Autocrafting --- src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java') 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)); } -- cgit