mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Print mod metadata info errors if we are in MCP.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user