Skip to content

Commit

Permalink
Fixed the '/details npcid' command
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Sep 13, 2024
1 parent 7905dee commit e23f5d3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions functions/slash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ function SlashCmdList.DETAILS (msg, editbox)
if (UnitExists("target")) then
local serial = UnitGUID("target")
if (serial) then
local npcId = _G.detailsFramework:GetNpcIdFromGuid(serial)
local npcId = _G.DetailsFramework:GetNpcIdFromGuid(serial)
if (npcId) then

if (not Details.id_frame) then
Expand Down Expand Up @@ -4235,7 +4235,3 @@ C_Timer.After(0, function()
end
end)





0 comments on commit e23f5d3

Please sign in to comment.