Fix regression in PluginManager.

Closes #321
This commit is contained in:
Brant Martin
2019-07-10 14:12:04 -04:00
committed by GitHub
parent e77d53fd41
commit c831df74d0

View File

@@ -115,7 +115,7 @@ namespace Torch.Managers
if (!firstLoad) if (!firstLoad)
{ {
_log.Warn($"Plugin {manifest.Name} ({item}) exists in the plugin directory, but is not listed in torch.cfg. Skipping load!"); _log.Warn($"Plugin {manifest.Name} ({item}) exists in the plugin directory, but is not listed in torch.cfg. Skipping load!");
return; continue;
} }
_log.Info($"First-time load: Plugin {manifest.Name} added to torch.cfg."); _log.Info($"First-time load: Plugin {manifest.Name} added to torch.cfg.");
Torch.Config.Plugins.Add(manifest.Guid); Torch.Config.Plugins.Add(manifest.Guid);