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

pull/3/head v2.11
Liza 2023-11-20 12:33:13 +01:00
parent 75885e004a
commit 9477be08d7
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"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework> <TargetFramework>net7.0-windows</TargetFramework>
<Version>2.10</Version> <Version>2.11</Version>
<LangVersion>11.0</LangVersion> <LangVersion>11.0</LangVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

View File

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