diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-01-05 22:14:37 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-01-05 22:14:37 +0800 |
| commit | 63fdcc76da7e2d7cbd79d327c6dd72404708f64f (patch) | |
| tree | 7d95f69850beb2935856253db1d8515493717d1a /src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java | |
| parent | 418ee1e13fb66ef30c9473e0069695d89967124f (diff) | |
| download | RoughlyEnoughItems-63fdcc76da7e2d7cbd79d327c6dd72404708f64f.tar.gz RoughlyEnoughItems-63fdcc76da7e2d7cbd79d327c6dd72404708f64f.tar.bz2 RoughlyEnoughItems-63fdcc76da7e2d7cbd79d327c6dd72404708f64f.zip | |
Buggy Autocrafting
Diffstat (limited to 'src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java')
| -rw-r--r-- | src/main/java/me/shedaniel/mixins/MixinBrewingRecipeRegistry.java | 2 |
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)); } |
