Fix a small problem with the new MCP container- it can cause NPEs. Nice.

This commit is contained in:
Christian 2012-10-26 07:55:23 -04:00
parent 1a31cd0886
commit 5115306e76

View file

@ -307,7 +307,7 @@ public class Loader
{
FMLLog.fine("Building injected Mod Containers %s", injectedContainers);
// Add in the MCP mod container
mods.add(new InjectedModContainer(mcp,null));
mods.add(new InjectedModContainer(mcp,new File("minecraft.jar")));
File coremod = new File(minecraftDir,"coremods");
for (String cont : injectedContainers)
{