From 0c5db3d0e6fea7e09c4c4262944b695f4808654a Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Wed, 28 Apr 2021 16:49:09 +0200 Subject: [PATCH] fix: null ref in PluginStatsWindow --- Dalamud/Dalamud.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dalamud/Dalamud.cs b/Dalamud/Dalamud.cs index 0a0ecb7ba..9e7ceff3c 100644 --- a/Dalamud/Dalamud.cs +++ b/Dalamud/Dalamud.cs @@ -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.");