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

Only crash if mods found by the MC locator (i.e. dev mods) are using the mandatory field #60

Merged
merged 5 commits into from
Dec 23, 2023

Conversation

Matyrobbrt
Copy link
Member

@Matyrobbrt Matyrobbrt commented Dec 22, 2023

This PR makes the mod info parser only crash in-dev if mods found by the MC locator (i.e. dev mods) are using the mandatory field instead of the type one, preventing dependencies from causing the error.

Fixes [not really, Neo bump required] neoforged/NeoForge#407

@Matyrobbrt Matyrobbrt added the enhancement New feature or request label Dec 22, 2023
@Matyrobbrt Matyrobbrt changed the title Add a system property to disable the dev-only crash if the mandatory field is used Only crash if mods found by the exploded locator (i.e. dev mods) are using the mandatory field Dec 22, 2023
@Matyrobbrt Matyrobbrt changed the title Only crash if mods found by the exploded locator (i.e. dev mods) are using the mandatory field Only crash if mods found by the MC locator (i.e. dev mods) are using the mandatory field Dec 22, 2023
@sciwhiz12 sciwhiz12 merged commit 29b9b43 into neoforged:main Dec 23, 2023
1 check passed
Matyrobbrt pushed a commit to neoforged/NeoForge that referenced this pull request Dec 24, 2023
Update FML to 2.0.6 to include neoforged/FancyModLoader#60
Replace SPI dependency with the FML SPI artifact, since the old one was
deprecated in neoforged/FancyModLoader#58

Fixes #407
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants