mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-09 15:10:00 +00:00
GetUnitData -> GetUnitInfo
avoid clash
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user