diff --git a/api/api.lua b/api/api.lua index c6e6a5e3..5a3c88d1 100644 --- a/api/api.lua +++ b/api/api.lua @@ -1440,6 +1440,7 @@ function pfUI.api.GetNoNameObject(frame, objtype, layer, arg1, arg2) local arg2 = arg2 and gsub(arg2, "([%+%-%*%(%)%?%[%]%^])", "%%%1") local objects + if not frame or not frame.GetRegions then return end if objtype == "Texture" or objtype == "FontString" then objects = {frame:GetRegions()} else