Sinytra / ForgifiedFabricAPI

Fabric API implemented on top of NeoForge
https://sinytra.org/docs
Apache License 2.0
113 stars 15 forks source link

Crash on starting client #117

Open EagleOfFire opened 5 months ago

EagleOfFire commented 5 months ago

Describe the bug

Fatal error caused by injection failure

Steps to reproduce

  1. Start a new forge project for minecraft 1.20.1
  2. make some call to the API
  3. run client ...

Logs

https://gist.github.com/EagleOfFire/3871608e3d1ebbc858eed6b7b73a12e1

Additional context

IntelliJ error message

Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on onScreenRemove could not find any targets matching 'Lnet/minecraft/client/Minecraft;m91152(Lnet/minecraft/client/gui/screens/Screen;)V' in net.minecraft.client.Minecraft. Using refmap fabric-screen-api-v1-refmap.json [PREINJECT Applicator Phase -> fabric-screen-api-v1.mixins.json:MinecraftClientMixin -> Prepare Injections -> -> handler$zdb000$onScreenRemove(Lnet/minecraft/client/gui/screens/Screen;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]