From 82fe5a387be1023e46dde4a503be4e2acd0fa279 Mon Sep 17 00:00:00 2001 From: Kaz Wolfe Date: Fri, 1 Nov 2024 08:54:42 -0700 Subject: [PATCH] fix: Register DataManager as a service --- Dalamud/Interface/Internal/DalamudInterface.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dalamud/Interface/Internal/DalamudInterface.cs b/Dalamud/Interface/Internal/DalamudInterface.cs index 793dfddd9..cdebdfb2e 100644 --- a/Dalamud/Interface/Internal/DalamudInterface.cs +++ b/Dalamud/Interface/Internal/DalamudInterface.cs @@ -8,6 +8,7 @@ using System.Runtime.InteropServices; using CheapLoc; using Dalamud.Configuration.Internal; using Dalamud.Console; +using Dalamud.Data; using Dalamud.Game.ClientState; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Keys; @@ -56,6 +57,7 @@ internal class DalamudInterface : IInternalDisposableService private readonly Dalamud dalamud; private readonly DalamudConfiguration configuration; private readonly InterfaceManager interfaceManager; + private readonly DataManager dataManager; private readonly ChangelogWindow changelogWindow; private readonly ColorDemoWindow colorDemoWindow; @@ -97,6 +99,7 @@ internal class DalamudInterface : IInternalDisposableService DalamudConfiguration configuration, FontAtlasFactory fontAtlasFactory, InterfaceManager interfaceManager, + DataManager dataManager, PluginImageCache pluginImageCache, DalamudAssetManager dalamudAssetManager, Game.Framework framework, @@ -108,6 +111,7 @@ internal class DalamudInterface : IInternalDisposableService this.dalamud = dalamud; this.configuration = configuration; this.interfaceManager = interfaceManager; + this.dataManager = dataManager; this.WindowSystem = new WindowSystem("DalamudCore");