Fix "0 mods" display when installed in forge.
This commit is contained in:
parent
afb18ee321
commit
f08dec0d63
1 changed files with 5 additions and 0 deletions
|
@ -571,6 +571,11 @@ public class Loader
|
|||
|
||||
public String getCrashInformation()
|
||||
{
|
||||
// Handle being called before we've begun setup
|
||||
if (modController == null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
StringBuilder ret = new StringBuilder();
|
||||
List<String> branding = FMLCommonHandler.instance().getBrandings();
|
||||
|
||||
|
|
Loading…
Reference in a new issue