Foam​Fix

Foam​Fix

97M Downloads

-> SPONGEFORGE USERS GO HERE <- Server crash when startup

avescarelo opened this issue · 9 comments

commented

Mod version: 0.10.1-1.12.2
Minecraft version: 1.12.2

The server has crashing, after installing FoamFix

Error: Exception generating new chunk

Crash log: https://gist.github.com/pingvikin/0fc777a9448202a16ceb3431aa32602f

commented

Yeah, this is totally a foamfix bug. I just had this issue too. Took me like an hour to realize it is the latest curse release of Foamfix, if you go back to the one released earlier this month it will work fine. So go back to 0.10.0 and it will be fine.

commented

Sponge compatibility is not promised. Disable general.patchChunkContainer, as it conflicts with a FoamFix fix.

@Aaron1011, how do I best detect Sponge in this situation?

commented

@asiekierka I can't find where you mean Disable general.patchChunkContainer as I look both in sponge cfg and Foamfixs config and did not see anything called that

commented

@asiekierka I don't know of a way without potentially causing a class load on a sponge core class (like SpongeCoreMod you could query for, but it might be a little expensive at coremod build time since there's no guarantee about coremod initialization. Perhaps @Mumfrey could provide an idea? In short, sponge applies a redirect on BlockStateContainer and because asie already modifies the target of the redirect, the mixin fails. I'd doubt it would be possible for you to make that path use Mixins, right?

commented

@gabizou I am most likely going to be moving to MIxins in 1.13; however, at this time, adding in the Mixin library would inflate FoamFix's size about five to six times, which is not desirable.

commented

There is no general.patchChunkContainer option, right now the only way to avoid the crash is to revert to 0.10.0.

commented

general.patchChunkSerialization. Remembered the name wrong.

commented

Oke. Good to know!