Browse Source

Added null check in composite invoker

pull/11/head 3.12.2
Anairkoen Schno 5 years ago
parent
commit
522ddb18c3
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