diff --git a/ItemConditions.lua b/ItemConditions.lua index 8851073..761e659 100644 --- a/ItemConditions.lua +++ b/ItemConditions.lua @@ -272,7 +272,7 @@ local function IsItemUsableByMe(itemID) LootReserve:RegisterEvent("QUEST_ACCEPTED", "QUEST_TURNED_IN", "CHAT_MSG_SKILL", function() usableCache = { }; end); - LootReserve:RegisterEvent("BAG_UPDATE", function() -- Return to hooking BAG_UPDATED_DELAYED when blizzard fixes it + LootReserve:RegisterEvent("BAG_UPDATE_DELAYED", function() usableCache = { }; C_Timer.After(0, function() usableCache = { }; end); end); diff --git a/LootReserve.lua b/LootReserve.lua index 5b9102a..e017809 100644 --- a/LootReserve.lua +++ b/LootReserve.lua @@ -817,7 +817,7 @@ local bagCacheHooked = nil; local function CheckBagCache(self) if not bagCacheHooked then bagCacheHooked = true; - LootReserve:RegisterEvent("BAG_UPDATE", function() -- Return to hooking BAG_UPDATED_DELAYED when blizzard fixes it + LootReserve:RegisterEvent("BAG_UPDATE_DELAYED", function() LootReserve:WipeBagCache(); C_Timer.After(0, function() LootReserve:WipeBagCache(); end); end); diff --git a/Windows/ServerWindow.lua b/Windows/ServerWindow.lua index eceaabe..aa88a33 100644 --- a/Windows/ServerWindow.lua +++ b/Windows/ServerWindow.lua @@ -936,7 +936,7 @@ function LootReserve.Server:OnWindowLoad(window) LootReserve.Server:UpdateRollList(); end); local tempBagFix; - LootReserve:RegisterEvent("BAG_UPDATE", function() -- Return to hooking BAG_UPDATED_DELAYED when blizzard fixes it + LootReserve:RegisterEvent("BAG_UPDATE_DELAYED", function() if not tempBagFix then tempBagFix = C_Timer.NewTicker(0, function() LootReserve:WipeBagCache();