Browse Source

Old IPA plugins now no longer have an empty section if there are none

pull/62/head
Anairkoen Schno 4 years ago
parent
commit
7c1d811158
Signed by: DaNike GPG Key ID: BEFB74D5F3FC4387
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      IPA.Loader/Loader/PluginManager.cs

+ 6
- 3
IPA.Loader/Loader/PluginManager.cs View File

@ -449,11 +449,14 @@ namespace IPA.Loader
Logger.log.Info($"{plugin.Metadata.Name} ({plugin.Metadata.Id}): {plugin.Metadata.Version}");
}
Logger.log.Info("-----------------------------");
foreach (var plugin in _ipaPlugins)
if (_ipaPlugins.Count > 0)
{
Logger.log.Info($"{plugin.Name}: {plugin.Version}");
foreach (var plugin in _ipaPlugins)
{
Logger.log.Info($"{plugin.Name}: {plugin.Version}");
}
Logger.log.Info("-----------------------------");
}
Logger.log.Info("-----------------------------");
}
private static IEnumerable<Old.IPlugin> LoadPluginsFromFile(string file)


Loading…
Cancel
Save