mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 21:20:00 +00:00
utilize IsModifierKeyDown
This commit is contained in:
@@ -41,7 +41,7 @@ pfUI:RegisterModule("sellvalue", function ()
|
||||
end)
|
||||
|
||||
hooksecurefunc("SetItemRef", function()
|
||||
if IsAltKeyDown() or IsShiftKeyDown() or IsControlKeyDown() then return end
|
||||
if IsModifierKeyDown() then return end
|
||||
if ItemRefTooltip:HasItem() then
|
||||
local _, _, id = ItemRefTooltip:GetItem()
|
||||
if id then AddVendorPrices(ItemRefTooltip, id, 1) end
|
||||
|
||||
Reference in New Issue
Block a user