From 1402818e62bfcf1ba6c53850b1d2bf5d58f4fdbb Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Fri, 20 Mar 2026 23:15:14 +0100 Subject: [PATCH] added missing nil check for api.lua --- api/api.lua | 1 + 1 file changed, 1 insertion(+) 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