Failure on startup with forge 41.1.0 ("Needs language provider javafml:41.0.100 or above to load")
gkreitz opened this issue ยท 1 comments
Environment
- Loader: Forge 41.1.0
- Mod version: 1.19-13.0
- OS: Windows
Describe the bug
Minecraft fails to start when the mod is present, showing an error message saying "Needs language provider javafml:41.0.100 or above to load". Bug is also mentioned in several comments on https://www.curseforge.com/minecraft/mc-mods/lucky-block
I don't know anything about minecraft modding, but it seems like the javafml loader does not use semantic versioning, instead simply having the version set as 41
, even in forge 41.1
. Changing the line
loaderVersion="[41,)"
fixes the issue. Not submitting a PR as obviously you want to extract the major version from ${minForgeVersion}
rather than hard coding 41 and I'm not familiar enough with toml syntax to know how to do that.
Screenshots
If applicable, add screenshots here.
Log file
If applicable, add your log file here.