Fix load error

This commit is contained in:
Liza 2024-07-16 11:17:58 +02:00
parent 25d25ccf6b
commit 0d889172bb
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<Project Sdk="Dalamud.NET.Sdk/9.0.2"> <Project Sdk="Dalamud.NET.Sdk/9.0.2">
<PropertyGroup> <PropertyGroup>
<Version>4.2</Version> <Version>4.3</Version>
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SatelliteResourceLanguages>none</SatelliteResourceLanguages> <SatelliteResourceLanguages>none</SatelliteResourceLanguages>
<OutputPath Condition="'$(Configuration)' != 'EF'">dist</OutputPath> <OutputPath Condition="'$(Configuration)' != 'EF'">dist</OutputPath>

View File

@ -1,6 +1,7 @@
using System; using System;
using System.IO; using System.IO;
using Dalamud.Extensions.MicrosoftLogging; using Dalamud.Extensions.MicrosoftLogging;
using Dalamud.Game.ClientState.Objects;
using Dalamud.Plugin; using Dalamud.Plugin;
using Dalamud.Plugin.Services; using Dalamud.Plugin.Services;
using Microsoft.Data.Sqlite; using Microsoft.Data.Sqlite;
@ -31,6 +32,7 @@ internal sealed class RetainerTrackPlugin : IDalamudPlugin
IAddonLifecycle addonLifecycle, IAddonLifecycle addonLifecycle,
ICommandManager commandManager, ICommandManager commandManager,
IDataManager dataManager, IDataManager dataManager,
ITargetManager targetManager,
IObjectTable objectTable, IObjectTable objectTable,
IMarketBoard marketBoard, IMarketBoard marketBoard,
IPluginLog pluginLog) IPluginLog pluginLog)
@ -50,6 +52,7 @@ internal sealed class RetainerTrackPlugin : IDalamudPlugin
serviceCollection.AddSingleton(addonLifecycle); serviceCollection.AddSingleton(addonLifecycle);
serviceCollection.AddSingleton(commandManager); serviceCollection.AddSingleton(commandManager);
serviceCollection.AddSingleton(dataManager); serviceCollection.AddSingleton(dataManager);
serviceCollection.AddSingleton(targetManager);
serviceCollection.AddSingleton(objectTable); serviceCollection.AddSingleton(objectTable);
serviceCollection.AddSingleton(marketBoard); serviceCollection.AddSingleton(marketBoard);