From e6fa2d842b41312d0106a79ac8021a02054f8549 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 26 Feb 2024 16:49:33 +0100 Subject: [PATCH] unusable: remove debug function --- modules/unusable.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/unusable.lua b/modules/unusable.lua index 764476db..0d397fcc 100644 --- a/modules/unusable.lua +++ b/modules/unusable.lua @@ -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