diff --git a/api/tbc.lua b/api/tbc.lua index c758a5ae..80ad29dc 100644 --- a/api/tbc.lua +++ b/api/tbc.lua @@ -42,3 +42,12 @@ end -- blacklist unrequired modules pfUI.module.autoshift = true + +-- keyring returns +function pfUI.api.GetContainerNumSlots(bag) + if bag == -2 and pfUI.bag and not pfUI.bag.showKeyring then + return 0 + else + return _G.GetContainerNumSlots(bag) + end +end