
Crash on launch in production due to `PackMCMetaVersionsGetter` failing
PaintNinja opened this issue ยท 4 comments
Using a simple hard-coded values fixes the issue.
This issue is caused by https://github.com/Matyrobbrt/GroovyModLoader/blob/main/src/mod/groovy/com/matyrobbrt/gml/mod/PackMCMetaVersionsGetter.groovy not getting remapped.
How do you propose we fix this? @CompileDynamic
might work but would be slower, or we could simply hardcode the values and manually change them each MC release as needed. Or is this a bug with the mod sourceset unexpectedly not being remapped?
Neither options are going to fix it, the property syntax uses dynamic calls, and the metaclass remapping is not yet set up that early. The fix is to make that class use Java.
98c127c has fixed it in production, but now crashes in dev.