Print mod metadata info errors if we are in MCP.

This commit is contained in:
LexManos committed 2012-06-19 19:55:28 -07:00
1 parent 07bebf187c
commit 8a7b91fb1c
1 file changed
+5
@@ -827,6 +827,11 @@ public class FMLClientHandler implements IFMLSidedHandler
}
} catch (Exception e) {
FMLCommonHandler.instance().getFMLLogger().log(Level.FINE, String.format("An error occured reading the info file for %s",mod.getName()), e);
if (Item.class.getPackage() != null) //Print the error if we are in MCP so mod devs see it
{
System.out.println(String.format("An error occured reading the info file for %s",mod.getName()));
e.printStackTrace();
}
}
return meta;
}