mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Don't scan ObjectHolders if there was an error already, derpitude will ensure.
This commit is contained in:
1 parent
e6e019896f
commit
e8c251808b
1 file changed
+1
-1
@@ -504,12 +504,12 @@ public class Loader
|
||||
|
||||
public void preinitializeMods()
|
||||
{
|
||||
ObjectHolderRegistry.INSTANCE.findObjectHolders(discoverer.getASMTable());
|
||||
if (!modController.isInState(LoaderState.PREINITIALIZATION))
|
||||
{
|
||||
FMLLog.warning("There were errors previously. Not beginning mod initialization phase");
|
||||
return;
|
||||
}
|
||||
ObjectHolderRegistry.INSTANCE.findObjectHolders(discoverer.getASMTable());
|
||||
modController.distributeStateMessage(LoaderState.PREINITIALIZATION, discoverer.getASMTable(), canonicalConfigDir);
|
||||
ObjectHolderRegistry.INSTANCE.applyObjectHolders();
|
||||
modController.transition(LoaderState.INITIALIZATION, false);
|
||||
|
||||
Reference in new issue
Block a user