Restore hooksecurefunc

This commit is contained in:
Brues
2026-07-09 23:01:52 -05:00
parent a2177fbf49
commit 13a08b0ea3
39 changed files with 78 additions and 83 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ pfUI:RegisterModule("sellvalue", function ()
frame:Show()
end
pfUI.hooksecurefunc("SetItemRef", function()
hooksecurefunc("SetItemRef", function()
if IsModifierKeyDown() then return end
if ItemRefTooltip:HasItem() then
local _, _, id = ItemRefTooltip:GetItem()
@@ -163,7 +163,7 @@ pfUI:RegisterModule("sellvalue", function ()
local function HookTooltip(tooltip)
for setter, entry in pairs(TooltipHooks) do
pfUI.hooksecurefunc(tooltip, setter, makeHook(entry))
hooksecurefunc(tooltip, setter, makeHook(entry))
end
end