From f734e614e430681bd20ea0ef9bcf1e234e8d303f Mon Sep 17 00:00:00 2001 From: cpw Date: Sun, 6 Jan 2019 17:19:18 -0500 Subject: [PATCH] Fire registry events before preinit and after construct. --- src/main/java/net/minecraftforge/fml/ModLoader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraftforge/fml/ModLoader.java b/src/main/java/net/minecraftforge/fml/ModLoader.java index e38e6f34d..c4f6f6258 100644 --- a/src/main/java/net/minecraftforge/fml/ModLoader.java +++ b/src/main/java/net/minecraftforge/fml/ModLoader.java @@ -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);