feat: log Troubleshooting in OnInstalledPluginsChanged

This commit is contained in:
goat 2021-07-12 23:07:08 +02:00
parent f97df582c6
commit 01dffea4a4
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -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.");
}