From 225cdf45940381c43ac31f348f1600c56eca8fc2 Mon Sep 17 00:00:00 2001 From: Sattva <74269253+Sattva-108@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:06:18 +0300 Subject: [PATCH] feat-disenchant: hide debugs --- Leatrix_Plus.lua | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Leatrix_Plus.lua b/Leatrix_Plus.lua index 4bec14f..e2ff9fc 100644 --- a/Leatrix_Plus.lua +++ b/Leatrix_Plus.lua @@ -16742,24 +16742,10 @@ local function eventHandler(self, event, arg1, arg2, ...) -- Disable warning for attempting to disenchant items if event == "CONFIRM_DISENCHANT_ROLL" then ConfirmLootRoll(arg1, arg2) - StaticPopup_Hide("CONFIRM_DISENCHANT_ROLL") + StaticPopup_Hide("CONFIRM_LOOT_ROLL") return end - - local originalStaticPopupHide = StaticPopup_Hide - StaticPopup_Hide = function(which, data) - print("DEBUG StaticPopup_Hide called with:", which, data) - return originalStaticPopupHide(which, data) - end - - local originalStaticPopupShow = StaticPopup_Show - StaticPopup_Show = function(which, ...) - print("DEBUG StaticPopup_Show called with:", which, ...) - return originalStaticPopupShow(which, ...) - end - - function Leatrix_CustomSellCursorItem() -- Fetch the mouseovered item local bag, slot = GetMouseFocus():GetParent():GetID(), GetMouseFocus():GetID()