GetUnitData -> GetUnitInfo

avoid clash
This commit is contained in:
Brues
2026-06-17 20:19:42 -05:00
parent 17291e4d9b
commit 5772cf2f91
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ pfUI:RegisterModule("afkcam", function ()
if not this:IsVisible() then return end
local info = _G.ChatTypeInfo[string.gsub(event,"CHAT_MSG_","")]
if not info then return end
local class = GetUnitData(arg2 or "")
local class = GetUnitInfo(arg2 or "")
local author, msg
if class and class ~= UNKNOWN then
local class_color = PFUI_CLASS_COLORS[class]:GenerateHexColorMarkup()