wisp-forest / accessories

A extendable and data-driven Accessory Mod for Minecraft
Other
29 stars 12 forks source link

Defer registration of AccessoriesForge.HOLDER_ATTACHMENT_TYPE #154

Open unilock opened 2 weeks ago

unilock commented 2 weeks ago

Fixes an issue in environments with Sinytra Connector, where the Accessories mod initializer may be instantiated during Fabric mod loading instead of (and before) NeoForge mod loading, leading to a crash due to AccessoriesForge.HOLDER_ATTACHMENT_TYPE being registered at the wrong time.

...at least, I think that's what the issue was. This fixes a crash I was having, in any case.