mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Network init
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user