Fix glamour set UI breaking when in instanced content
This commit is contained in:
parent
22025cdbc9
commit
1630bdf9a4
@ -431,6 +431,9 @@ internal sealed class GlamourSetter : Window, IDisposable
|
|||||||
foreach (var inventoryType in _inventoryTypes)
|
foreach (var inventoryType in _inventoryTypes)
|
||||||
{
|
{
|
||||||
var inventoryContainer = inventoryManager->GetInventoryContainer(inventoryType);
|
var inventoryContainer = inventoryManager->GetInventoryContainer(inventoryType);
|
||||||
|
if (inventoryContainer == null)
|
||||||
|
continue;
|
||||||
|
|
||||||
for (int i = 0; i < inventoryContainer->Size; ++i)
|
for (int i = 0; i < inventoryContainer->Size; ++i)
|
||||||
{
|
{
|
||||||
InventoryItem* item = inventoryContainer->GetInventorySlot(i);
|
InventoryItem* item = inventoryContainer->GetInventorySlot(i);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<Project Sdk="Dalamud.NET.Sdk/11.0.0">
|
<Project Sdk="Dalamud.NET.Sdk/11.0.0">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>2.2</Version>
|
<Version>2.3</Version>
|
||||||
<OutputPath>dist</OutputPath>
|
<OutputPath>dist</OutputPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user