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

PSA relating to 2.2.x Porting Lib crashes #106

Closed
MerchantPug opened this issue Nov 10, 2024 · 1 comment
Closed

PSA relating to 2.2.x Porting Lib crashes #106

MerchantPug opened this issue Nov 10, 2024 · 1 comment

Comments

@MerchantPug
Copy link
Collaborator

MerchantPug commented Nov 10, 2024

I've noticed that a few addons have copypasted Farmer's Delight Refabricated's porting lib import in their own build scripts for 1.21.1, which includes an out of date build of porting lib. This leads to the mod crashing because Porting Lib has made breaking changes to their code and that i had also updated the version schema to remove the trailing -beta, which leads FLoader to pick up the addon's old version.

For Players

id suggest making a report to any devs. You can search for an old porting lib being loaded by seeing if a mod has a porting lib version with this:
3.1.0-beta+fdrf.1+1.21
trailing it in the modlist within the crash logs. You may search with Ctrl + F.

For Devs

include(modApi("io.github.fabricators_of_create.Porting-Lib:$module:$port_lib_version"))

Replace the above with: modApi("io.github.fabricators_of_create.Porting-Lib:$module:$port_lib_version")

If you are on 1.21.0

Update to 1.21.1, the current Porting Lib doesn't load on base 1.21. It won't hurt, 21.1 is only a hotfix version.

@MerchantPug
Copy link
Collaborator Author

Porting Lib NoClassFoundException

Update to Fabric Loader 0.16.7 or above.

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

No branches or pull requests

1 participant