unusable: remove debug function

This commit is contained in:
shagu
2024-02-26 16:49:33 +01:00
parent a0789f26df
commit e6fa2d842b
-11
View File
@@ -55,17 +55,6 @@ pfUI:RegisterModule("unusable", "vanilla:tbc", function ()
end
end
function pfUI.unusable:DumpCache()
local self = self or pfUI.unusable
for bag,slots in pairs(self.cache) do
for slot, status in pairs(slots) do
if status then
print(string.format("bag:%s, slot:%s",bag,slot))
end
end
end
end
pfUI.unusable:SetScript("OnEvent", function()
-- update all caches
if event == "PLAYERBANKSLOTS_CHANGED" or event == "BANKFRAME_OPENED" then