Fix a Mixin bug that causes an Invoker conflict with Patchouli.

See https://github.com/SpongePowered/Mixin/issues/430
This commit is contained in:
Sebastian Hartte
2020-09-11 17:20:20 +02:00
parent 2bca23d75d
commit 06a8843a65
@@ -10,8 +10,9 @@ import net.minecraft.recipe.Ingredient;
@Mixin(Ingredient.class)
public interface IngredientAccessor {
@Invoker
void callCacheMatchingStacks();
// Temporary fix for https://github.com/SpongePowered/Mixin/issues/430
@Invoker("cacheMatchingStacks")
void appeng_cacheMatchingStacks();
@Accessor
ItemStack[] getMatchingStacks();