From 01dffea4a4dfb0d5f1d2194e26562066ca0bb976 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Mon, 12 Jul 2021 23:07:08 +0200 Subject: [PATCH] feat: log Troubleshooting in OnInstalledPluginsChanged --- Dalamud/Dalamud.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dalamud/Dalamud.cs b/Dalamud/Dalamud.cs index 62efb5f26..170a64082 100644 --- a/Dalamud/Dalamud.cs +++ b/Dalamud/Dalamud.cs @@ -353,6 +353,9 @@ namespace Dalamud try { this.PluginManager = new PluginManager(this); + this.PluginManager.OnInstalledPluginsChanged += () => + Troubleshooting.LogTroubleshooting(this, this.InterfaceManager.IsReady); + Log.Information("[T3] PM OK!"); this.PluginManager.CleanupPlugins(); @@ -370,7 +373,7 @@ namespace Dalamud this.DalamudUi = new DalamudInterface(this); Log.Information("[T3] DUI OK!"); - Troubleshooting.LogTroubleshooting(this, this.InterfaceManager != null); + Troubleshooting.LogTroubleshooting(this, this.InterfaceManager.IsReady); Log.Information("Dalamud is ready."); }