diff --git a/HellionChat/Plugin.cs b/HellionChat/Plugin.cs index cd1bf02..c374464 100755 --- a/HellionChat/Plugin.cs +++ b/HellionChat/Plugin.cs @@ -193,11 +193,11 @@ public sealed class Plugin : IAsyncDalamudPlugin Config = Interface.GetPluginConfig() as Configuration ?? new Configuration(); - // Wire platform indirection before LoadAsync allocates anything that - // needs Util.* — services then read Plugin.PlatformUtil instead of - // hitting the Dalamud static surface directly. - PlatformUtil = new DalamudPlatformUtil(); - LogProxy = new DalamudPluginLogProxy(Log); + // PlatformUtil and LogProxy are filled from the DI container in + // Phase-1 below (`_host.Services.GetRequiredService()` + // and the LogProxy equivalent). Phase-0 helpers that run before that + // point (MigrateFromChatTwoLayout, LanguageChanged, ImGuiUtil.Initialize) + // do not touch either static, so the brief null-window is safe. // Schema gate: v1.4.x requires config v16+. Users on older schemas // must install v1.4.2 first to run the migration chain. v17 adds