Fire registry events before preinit and after construct.
This commit is contained in:
parent
997a15c0f2
commit
f734e614e4
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ public class ModLoader
|
|||
dispatchAndHandleError(LifecycleEventProvider.CONSTRUCT);
|
||||
GameData.fireCreateRegistryEvents();
|
||||
CapabilityManager.INSTANCE.injectCapabilities(modList.getAllScanData());
|
||||
GameData.fireRegistryEvents();
|
||||
dispatchAndHandleError(LifecycleEventProvider.PREINIT);
|
||||
DistExecutor.runWhenOn(Dist.CLIENT, ModLoader::fireClientEvents);
|
||||
dispatchAndHandleError(LifecycleEventProvider.SIDEDINIT);
|
||||
|
|
Loading…
Reference in a new issue