Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with -Dmixin.debug.countInjections=true #143

Closed
Lolothepro opened this issue Aug 10, 2024 · 0 comments
Closed

Crash with -Dmixin.debug.countInjections=true #143

Lolothepro opened this issue Aug 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Lolothepro
Copy link

Lolothepro commented Aug 10, 2024

https://mclo.gs/qR32KpZ

Mixin apply for mod fabric_item_api_v1 failed fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1 -> net.minecraft.world.inventory.AnvilMenu: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Injection validation failed: Redirector callAllowEnchantingEvent(Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/item/ItemStack;Lcom/llamalad7/mixinextras/sugar/ref/LocalRef;)Z in fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1 expected 1 invocation(s) but 0 succeeded. Scanned 0 target(s). No refMap loaded. [INJECT Applicator Phase -> fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1 -> Apply Injections ->  -> PostInject -> fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1->@SugarWrapper::callAllowEnchantingEvent(Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Holder;)Z]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Injection validation failed: Redirector callAllowEnchantingEvent(Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/item/ItemStack;Lcom/llamalad7/mixinextras/sugar/ref/LocalRef;)Z in fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1 expected 1 invocation(s) but 0 succeeded. Scanned 0 target(s). No refMap loaded. [INJECT Applicator Phase -> fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1 -> Apply Injections ->  -> PostInject -> fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1->@SugarWrapper::callAllowEnchantingEvent(Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Holder;)Z]
Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Injection validation failed: Redirector callAllowEnchantingEvent(Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/item/ItemStack;Lcom/llamalad7/mixinextras/sugar/ref/LocalRef;)Z in fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1 expected 1 invocation(s) but 0 succeeded. Scanned 0 target(s). No refMap loaded. [INJECT Applicator Phase -> fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1 -> Apply Injections ->  -> PostInject -> fabric-item-api-v1.mixins.json:AnvilScreenHandlerMixin from mod fabric_item_api_v1->@SugarWrapper::callAllowEnchantingEvent(Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Holder;)Z]```
@Su5eD Su5eD self-assigned this Aug 10, 2024
@Su5eD Su5eD added the bug Something isn't working label Aug 10, 2024
Su5eD added a commit that referenced this issue Aug 11, 2024
@Su5eD Su5eD closed this as completed Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants