Browse Source

Added null check in composite invoker

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
a8fb484609
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      IPA.Loader/Loader/Composite/CompositeBSPlugin.cs

+ 2
- 1
IPA.Loader/Loader/Composite/CompositeBSPlugin.cs View File

@ -38,7 +38,8 @@ namespace IPA.Loader.Composite
private void Invoke(CompositeCall callback) {
foreach (var plugin in plugins) {
try {
callback(plugin);
if (plugin.Plugin != null)
callback(plugin);
}
catch (Exception ex) {
Logger.log.Error($"{plugin.Metadata.Name}: {ex}");


Loading…
Cancel
Save