Merge pull request #1609 from lumien231/1.8
Fixes #1603: Moving the start of the update thread to the pre init of the forge mod container
This commit is contained in:
commit
bca990cc93
2 changed files with 5 additions and 5 deletions
|
@ -280,6 +280,11 @@ public class ForgeModContainer extends DummyModContainer implements WorldAccessC
|
||||||
MinecraftForge.EVENT_BUS.register(MinecraftForge.INTERNAL_HANDLER);
|
MinecraftForge.EVENT_BUS.register(MinecraftForge.INTERNAL_HANDLER);
|
||||||
ForgeChunkManager.captureConfig(evt.getModConfigurationDirectory());
|
ForgeChunkManager.captureConfig(evt.getModConfigurationDirectory());
|
||||||
FMLCommonHandler.instance().bus().register(this);
|
FMLCommonHandler.instance().bus().register(this);
|
||||||
|
|
||||||
|
if (!ForgeModContainer.disableVersionCheck)
|
||||||
|
{
|
||||||
|
ForgeVersion.startVersionCheck();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
|
|
|
@ -46,11 +46,6 @@ public class MinecraftForge
|
||||||
|
|
||||||
OreDictionary.getOreName(0);
|
OreDictionary.getOreName(0);
|
||||||
|
|
||||||
if (!ForgeModContainer.disableVersionCheck)
|
|
||||||
{
|
|
||||||
ForgeVersion.startVersionCheck();
|
|
||||||
}
|
|
||||||
|
|
||||||
//Force these classes to be defined, Should prevent derp error hiding.
|
//Force these classes to be defined, Should prevent derp error hiding.
|
||||||
new CrashReport("ThisIsFake", new Exception("Not real"));
|
new CrashReport("ThisIsFake", new Exception("Not real"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue