mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Ensure that the loadcontroller is ready to preinit.
This commit is contained in:
1 parent
de546bdf6c
commit
cd43eacbb2
1 file changed
+5
@@ -502,6 +502,11 @@ public class Loader
|
||||
|
||||
public void preinitializeMods()
|
||||
{
|
||||
if (!modController.isInState(LoaderState.PREINITIALIZATION))
|
||||
{
|
||||
FMLLog.warning("There were errors previously. Not beginning mod initialization phase");
|
||||
return;
|
||||
}
|
||||
modController.distributeStateMessage(LoaderState.PREINITIALIZATION, discoverer.getASMTable(), canonicalConfigDir);
|
||||
modController.transition(LoaderState.INITIALIZATION, false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user