Jump to content

[1.13.2] FMLCommonSetupEvent listener not always called if more than 1 mod is installed


Recommended Posts

Posted

When I play using more than 1 of my mods in either the live game or the dev environment, there's a significant chance that the function registered as a listener to FMLCommonSetupEvent by one or more of my mods will not get called at all during the initialization of the game. As you can imagine, this breaks a lot of functionality of my mods.


I know it's that these events aren't firing instead of some other bug in my code because I put println statements in both the constructor and the setup of my mods. The constructor print statement always fires, while the setup print statement sometimes fires and sometimes doesn't, if there is more than 1 mod installed.

 

One of my mod's main class:

  Reveal hidden contents

The (non-debug) log from a session where both mod's didn't fire their setup event:

  Reveal hidden contents

The debug log is attached below.

debug.zipUnavailable

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.