Fix glamour set UI breaking when in instanced content

This commit is contained in:
Liza 2024-12-23 21:09:43 +01:00
parent 22025cdbc9
commit e684d6f808
Signed by: liza
GPG Key ID: 2C41B84815CF6445
2 changed files with 4 additions and 1 deletions

View File

@ -431,6 +431,9 @@ internal sealed class GlamourSetter : Window, IDisposable
foreach (var inventoryType in _inventoryTypes)
{
var inventoryContainer = inventoryManager->GetInventoryContainer(inventoryType);
if (inventoryContainer == null)
continue;
for (int i = 0; i < inventoryContainer->Size; ++i)
{
InventoryItem* item = inventoryContainer->GetInventorySlot(i);

View File

@ -1,6 +1,6 @@
<Project Sdk="Dalamud.NET.Sdk/11.0.0">
<PropertyGroup>
<Version>2.2</Version>
<Version>2.3</Version>
<OutputPath>dist</OutputPath>
</PropertyGroup>