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

Run PostInit scripts on LoadComplete #63

Merged
merged 4 commits into from
Jun 24, 2023

Conversation

Testure
Copy link
Contributor

@Testure Testure commented Jun 23, 2023

Runs the POST_INIT loader on FMLLoadComplete instead of FMLPostInitialization. (while making sure run before JEI loads)

This solves any issues with scripts being run before a mod loads required recipes or other things, including an existing issue where Tinkers' registers melting recipes after scripts are run.

Also added logs that say how long the first script loads took.

@brachy84
Copy link
Member

I would like this to be consistent with pre init loading. See LoaderControllerMixin.

@brachy84 brachy84 merged commit 8dde3fd into CleanroomMC:master Jun 24, 2023
@Testure Testure deleted the load_complete_scripts branch June 28, 2023 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants