From 8a7b91fb1cf7650f85ffe0181e5dd01391b13bd1 Mon Sep 17 00:00:00 2001 From: LexManos Date: Tue, 19 Jun 2012 19:55:28 -0700 Subject: [PATCH] Print mod metadata info errors if we are in MCP. --- fml/client/cpw/mods/fml/client/FMLClientHandler.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fml/client/cpw/mods/fml/client/FMLClientHandler.java b/fml/client/cpw/mods/fml/client/FMLClientHandler.java index 0bc28807ab..d06b38ee5b 100644 --- a/fml/client/cpw/mods/fml/client/FMLClientHandler.java +++ b/fml/client/cpw/mods/fml/client/FMLClientHandler.java @@ -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; }