Network init

This commit is contained in:
cpw authored and LexManos committed 2018-09-05 13:14:16 -07:00
1 parent b50b768852
commit d7e9217695
43 files changed
+1064 -794

No files matched your search

@@ -63,7 +63,6 @@ public class ModInfo implements IModInfo
this.dependencies = Collections.emptyList();
this.properties = Collections.emptyMap();
}
}
@Override
@@ -104,6 +103,11 @@ public class ModInfo implements IModInfo
public Optional<String> getLogoFile()
{
return this.owningFile.getConfig().getOptional("logoFile");
return this.owningFile != null ? this.owningFile.getConfig().getOptional("logoFile") : Optional.empty();
}
public boolean hasConfigUI()
{
return false;
}
}