During Spectrum's block registration, it calls Block#getSoundType. This fires Spelunkery's mixin, which tries to access Spelunkery's config, which then fails to initialize itself due to Forge not having finalized its mod list yet.
I expect this would happen with any mod that calls Block#getSoundType during mod initialization, so I don't think this is a Connector / Spectrum-specific issue.
Describe the bug: The game crashes during startup when Spelunkery is installed alongside Spectrum using Sinytra Connector.
Versions: Minecraft version:
1.20.1
Spelunkery version:0.3.5
Moonlight Lib version:2.9.7
NeoForge version:47.1.99
Other mods:
cloth-config-11.1.118-forge.jar
Connector-1.0.0-beta.36+1.20.1.jar
fabric-api-0.91.0+1.10.8+1.20.1.jar
Patchouli-1.20.1-84-FORGE.jar
revelationary-1.3.7+1.20.1.jar
spectrum-1.7.6-deeper-down.jar
trinkets-3.7.1.jar
Logs: crash-2024-02-08_17.24.33-client.txt
debug.log
To Reproduce:
Expected behavior: The game starts.
Screenshots: N/A
Additional info: The issue seems to be caused by this mixin: https://github.com/AstralOrdana/Spelunkery/blob/73a8b0421de91cd624883b46195c1439b5c82b79/common/src/main/java/com/ordana/spelunkery/mixins/NetherPortalSoundMixin.java#L21-L27
During Spectrum's block registration, it calls
Block#getSoundType
. This fires Spelunkery's mixin, which tries to access Spelunkery's config, which then fails to initialize itself due to Forge not having finalized its mod list yet.I expect this would happen with any mod that calls
Block#getSoundType
during mod initialization, so I don't think this is a Connector / Spectrum-specific issue.