Corosauce / CoroUtil

Minecraft Forge Mod - Library used in most of my other mods
22 stars 27 forks source link

Race condition in config loading #54

Closed malte0811 closed 1 year ago

malte0811 commented 1 year ago

This code can cause other mods' common configs to be dropped from configSets due to Forge's parallel mod loading:

I suspect that this is what causes BluSunrize/ImmersiveEngineering#5515. The code is only present on 1.18, not on 1.19, so I don't know what the third user in that issue is running into.

See also the discussion in the Forgecraft bug channel, I pinged you there at the end of the discussion (so far).

Corosauce commented 1 year ago

Damn, I didn't account for the parallelism, yeah that would do it, change is now reverted, 1.2.44 pushed to curse and available pending their approval. Thanks for bringing this to my attention.