Don't fetch more items when stocking up if at the exact item count

This commit is contained in:
Liza 2023-11-20 12:33:13 +01:00
parent 75885e004a
commit 35cc101bd6
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -178,7 +178,7 @@ public sealed partial class AutoRetainerControlPlugin : IDalamudPlugin
? inProgress
: 0),
})
.Where(x => x.InventoryCount <= x.RequestedCount)
.Where(x => x.InventoryCount < x.RequestedCount)
.ToList()
.AsReadOnly();