View Single Post
04/30/17, 10:29 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
I think you are confusing it with GetRawUnitName. GetUnitName("player") already returns the name without formatting characters, so you do not need to use zo_strformat.
p.s. just because code is long doesn't automatically mean it's spagetthi code.