Make /dbq request work with all items (not just shards/crystals/clusters)
This commit is contained in:
parent
da37092a85
commit
74d32c070b
@ -119,7 +119,9 @@ internal sealed class DropboxQueue : IDisposable
|
||||
var missingItems = parsedItems
|
||||
.Select(item => item with
|
||||
{
|
||||
Needed = item.Needed - inventoryManger->GetItemCountInContainer(item.ItemId, InventoryType.Crystals)
|
||||
Needed = item.Needed - DefaultInventoryTypes.Sum(y =>
|
||||
inventoryManger->GetItemCountInContainer(item.ItemId, y) +
|
||||
inventoryManger->GetItemCountInContainer(item.ItemId, y, true))
|
||||
})
|
||||
.Where(x => x.Needed > 0)
|
||||
.ToList();
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Dalamud.NET.Sdk/9.0.2">
|
||||
<PropertyGroup>
|
||||
<Version>1.1</Version>
|
||||
<Version>1.2</Version>
|
||||
<OutputPath>dist</OutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user