diff --git a/core/hooks.lua b/core/hooks.lua index ed3ef907..901e2834 100644 --- a/core/hooks.lua +++ b/core/hooks.lua @@ -10,13 +10,13 @@ addon.backpackShouldClose = false function addon.ForceHideBlizzardBags() for i = 1, NUM_TOTAL_BAG_FRAMES, 1 do - _G["ContainerFrame"..i]:Hide() + CloseBag(i) end end function addon.ForceShowBlizzardBags() for i = 1, NUM_TOTAL_BAG_FRAMES, 1 do - _G["ContainerFrame"..i]:Show() + OpenBag(i) end end