Skip to content

Commit

Permalink
API update
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim committed Nov 29, 2024
1 parent 684d5dc commit 7cb37ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function button:UpdateTarget()
return
end

local npcID = addon:GetNPCID('target')
local npcID = addon:GetUnitID('target')
if npcID then
local targetItemID = data.targetItems[npcID]
if targetItemID then
Expand Down

0 comments on commit 7cb37ee

Please sign in to comment.