Fix turn-in attempts sometimes only exchanging seals, but not turning in items

This commit is contained in:
Liza 2024-01-07 16:36:15 +01:00
parent c165b77d8f
commit b8520ffc13
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework> <TargetFramework>net7.0-windows</TargetFramework>
<Version>2.23</Version> <Version>2.24</Version>
<LangVersion>11.0</LangVersion> <LangVersion>11.0</LangVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

View File

@ -237,6 +237,7 @@ public sealed partial class DeliverooPlugin : IDalamudPlugin
{ {
CurrentStage = Stage.TargetPersonnelOfficer; CurrentStage = Stage.TargetPersonnelOfficer;
_itemsToPurchaseNow = _turnInWindow.SelectedItems; _itemsToPurchaseNow = _turnInWindow.SelectedItems;
ResetTurnInErrorHandling();
if (_itemsToPurchaseNow.Count > 0) if (_itemsToPurchaseNow.Count > 0)
{ {
_pluginLog.Information("Items to purchase:"); _pluginLog.Information("Items to purchase:");