This commit is contained in:
Zeffuro
2025-12-29 09:02:57 +01:00
parent 6be6a2c09d
commit 2f7977d144
@@ -15,8 +15,8 @@ public static unsafe class InventoryContextState
public static void RefreshMaps() public static void RefreshMaps()
{ {
EligibleSlots. Clear(); EligibleSlots.Clear();
VisualLocationMap. Clear(); VisualLocationMap.Clear();
var sorter = ItemOrderModule.Instance()->InventorySorter; var sorter = ItemOrderModule.Instance()->InventorySorter;
if (sorter == null) return; if (sorter == null) return;
@@ -31,7 +31,7 @@ public static unsafe class InventoryContextState
for (int displayIdx = 0; displayIdx < 140; displayIdx++) for (int displayIdx = 0; displayIdx < 140; displayIdx++)
{ {
var entry = sorter->Items[displayIdx]. Value; var entry = sorter->Items[displayIdx].Value;
if (entry == null) continue; if (entry == null) continue;
int realPage = entry->Page; int realPage = entry->Page;
@@ -46,7 +46,7 @@ public static unsafe class InventoryContextState
if (hasContext && invArray != null) if (hasContext && invArray != null)
{ {
var itemData = invArray->Items[displayIdx]; var itemData = invArray->Items[displayIdx];
if (itemData. IconId == 0) continue; if (itemData.IconId == 0) continue;
bool eligible = itemData.ItemFlags.MirageFlag == 0; bool eligible = itemData.ItemFlags.MirageFlag == 0;
if (eligible) if (eligible)