diff --git a/AetherBags/Addons/AddonInventoryWindow.cs b/AetherBags/Addons/AddonInventoryWindow.cs index 05a93b4..565a744 100644 --- a/AetherBags/Addons/AddonInventoryWindow.cs +++ b/AetherBags/Addons/AddonInventoryWindow.cs @@ -132,7 +132,7 @@ public class AddonInventoryWindow : NativeAddon RefreshCategoriesCore(true); } - public void UpdateLootedCategory(IReadOnlyList lootedItemInfos) + /*public void UpdateLootedCategory(IReadOnlyList lootedItemInfos) { if (!Services.ClientState.IsLoggedIn) return; _recentlyLootedCategoryNode?.CategorizedInventory.Items.AddRange( @@ -144,7 +144,7 @@ public class AddonInventoryWindow : NativeAddon }) .ToList()); RefreshCategoriesCore(true); - } + }*/ public void ManualCurrencyRefresh() { diff --git a/AetherBags/Inventory/InventoryState.cs b/AetherBags/Inventory/InventoryState.cs index d185956..1d29106 100644 --- a/AetherBags/Inventory/InventoryState.cs +++ b/AetherBags/Inventory/InventoryState.cs @@ -166,7 +166,7 @@ public static unsafe class InventoryState if (updateRequested) { - System.AddonInventoryWindow?.UpdateLootedCategory(LootedItems ?? []); + // System.AddonInventoryWindow?.UpdateLootedCategory(LootedItems ?? []); } } diff --git a/AetherBags/Plugin.cs b/AetherBags/Plugin.cs index 55f36a9..2be11b3 100644 --- a/AetherBags/Plugin.cs +++ b/AetherBags/Plugin.cs @@ -47,7 +47,7 @@ public unsafe class Plugin : IDalamudPlugin _commandHandler = new CommandHandler(); - Services.GameInventory.InventoryChanged += InventoryState.OnRawItemAdded; + // Services.GameInventory.InventoryChanged += InventoryState.OnRawItemAdded; Services.ClientState.Login += OnLogin; Services.ClientState.Logout += OnLogout; @@ -64,7 +64,7 @@ public unsafe class Plugin : IDalamudPlugin { Util.SaveConfig(System.Config); - Services.GameInventory.InventoryChanged -= InventoryState.OnRawItemAdded; + // Services.GameInventory.InventoryChanged -= InventoryState.OnRawItemAdded; Services.ClientState.Login -= OnLogin; Services.ClientState.Logout -= OnLogout;