Jump to content

java.lang.VerifyError: Bad type on operand stack when posting custom events to the mod event bus

Julian Vennen

Recommended Posts

I'm trying to update the Mod Flywheel from 1.20.1 to 1.20.4 and get the following error message:

java.lang.VerifyError: Bad type on operand stack
Exception Details:
    net/minecraft/client/Minecraft.handler$zzf000$flywheel$onEndManualResourceReload(ZLnet/minecraft/client/Minecraft$GameLoadCookie;Ljava/lang/Throwable;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V @20: invokevirtual
    Type 'com/jozufozu/flywheel/api/event/EndClientResourceReloadEvent' (current frame, stack[1]) is not assignable to 'net/minecraftforge/eventbus/api/Event'


This error does not make sense as EndClientResourceReloadEvent extends net.minecraftforge.eventbus.api.Event.


Does anyone know what's going on here?


Full Logs: https://paste.ee/p/Ae28w
Source code: https://github.com/JulianVennen/Flywheel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.