Skip to content

Commit

Permalink
- this is necessary internal name
Browse files Browse the repository at this point in the history
  • Loading branch information
cont1nuity committed Sep 10, 2024
1 parent eee8897 commit b97b3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plater.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3721,7 +3721,7 @@ Plater.AnchorNamesByPhraseId = {
--npcCacheInfo: [1] npc name [2] zone name [3] language
local npcCacheInfo = DB_NPCIDS_CACHE[plateFrame[MEMBER_NPCID]]
if (not npcCacheInfo) then
DB_NPCIDS_CACHE[plateFrame[MEMBER_NPCID]] = {plateFrame[MEMBER_NAME], Plater.ZoneName or "UNKNOWN", Plater.Locale or "enUS"}
DB_NPCIDS_CACHE[plateFrame[MEMBER_NPCID]] = {plateFrame.unitNameInternal, Plater.ZoneName or "UNKNOWN", Plater.Locale or "enUS"}
else
--the npc is already cached, check if the language is different
if (npcCacheInfo[3] ~= Plater.Locale) then
Expand Down

0 comments on commit b97b3ee

Please sign in to comment.