ItemRack icon indicating copy to clipboard operation
ItemRack copied to clipboard

Fix "calling 'GetName' on bad self"

Open romracer opened this issue 8 months ago • 0 comments

In 4.1+ clients, which all modern and classic WoW clients are long descedents from (all clients are 10.0+ now), GetMouseFocus() can return nil when opening character frames (player or others like inspecting). This fixes calling GetName in those situations. Its probably a little overkill, but it works.

romracer avatar Jun 05 '24 15:06 romracer