SuperMartijn642 / SuperMartijn642sCoreLib

14 stars 2 forks source link

[Crash] I have a problem with CoreLib and SpongeForge that crashes the server. #44

Closed marcoastor closed 11 months ago

marcoastor commented 11 months ago

Version Info

Steps to Reproduce I have a SpongeForge server that works perfectly with many mods and when I go to put the CoreLib to use other mods like Connected Glass or Moving Elevators, it won't turn on.

Crash report (~/logs/latest.log) In this web you can find my crash report

SanderWxD commented 11 months ago

Same issue here.

MC 1.12.2, Forge 2860, latest SpongeForge, both version 1.1.12 and 1.1.12a of CoreLib cause the crash. Server runs fine on the 225 mods installed but crashes as soon as CoreLib is added.

crash-2023-08-13_21.24.36-server.txt

SuperMartijn642 commented 11 months ago

It seems SpongeForge is using a bunch of unnecessary @Overwrite mixins instead of @Inject, making it almost impossible for others to inject into any methods overwritten by SpongeForge. Nonetheless, I have now added workarounds for any of the methods overwritten by SpongeForge which my core library also injects into.

Version 1.1.12b for Minecraft 1.12 should now be compatible with SpongeForge.