Commit adcb85ca authored by Azilroka's avatar Azilroka
Browse files

Update name:title

parent 32cb9a53
......@@ -1060,9 +1060,7 @@ end
ElvUF.Tags.Events['name:title'] = 'UNIT_NAME_UPDATE INSTANCE_ENCOUNTER_ENGAGE_UNIT'
ElvUF.Tags.Methods['name:title'] = function(unit)
if UnitIsPlayer(unit) then
return UnitPVPName(unit) or UnitName(unit)
end
return UnitIsPlayer(unit) and UnitPVPName(unit) or UnitName(unit)
end
ElvUF.Tags.Events['title'] = 'UNIT_NAME_UPDATE INSTANCE_ENCOUNTER_ENGAGE_UNIT'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment