Jump to content

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


Recommended Posts

Posted

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:
  Location:
    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
  Reason:
    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

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.

Guest
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.

Announcements



×
×
  • Create New...

Important Information

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