fix: null ref in PluginStatsWindow

This commit is contained in:
goat 2021-04-28 16:49:09 +02:00
parent d83aabafe2
commit 0c5db3d0e6
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -308,11 +308,6 @@ namespace Dalamud
{
Log.Information("[T3] START!");
this.DalamudUi = new DalamudInterface(this);
this.InterfaceManager.OnDraw += this.DalamudUi.Draw;
Log.Information("[T3] DUI OK!");
this.PluginRepository =
new PluginRepository(this, this.StartInfo.PluginDirectory, this.StartInfo.GameVersion);
@ -340,6 +335,11 @@ namespace Dalamud
}
}
this.DalamudUi = new DalamudInterface(this);
this.InterfaceManager.OnDraw += this.DalamudUi.Draw;
Log.Information("[T3] DUI OK!");
Troubleshooting.LogTroubleshooting(this, this.InterfaceManager != null);
Log.Information("Dalamud is ready.");