mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
bubbles: check for valid elements on detection
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ pfUI:RegisterModule("bubbles", "vanilla:tbc", function ()
|
||||
function pfUI.bubbles:IsBubble(f)
|
||||
if f:GetName() then return end
|
||||
if not f:GetRegions() then return end
|
||||
return f:GetRegions():GetTexture() == "Interface\\Tooltips\\ChatBubble-Background"
|
||||
return f:GetRegions().GetTexture and f:GetRegions():GetTexture() == "Interface\\Tooltips\\ChatBubble-Background"
|
||||
end
|
||||
|
||||
function pfUI.bubbles:ProcessBubble(f)
|
||||
|
||||
Reference in New Issue
Block a user