mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
unitframes: ignore non existing partypet events
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ pfUI:RegisterModule("group", function ()
|
||||
pfUI.uf.groupscanner:SetScript("OnUpdate", function()
|
||||
if ( this.limit or 1) > GetTime() then return else this.limit = GetTime() + .2 end
|
||||
for i=1, 4 do
|
||||
if UnitExists("party" .. i .. "target") or (pfUI.unlock and pfUI.unlock:IsShown()) then
|
||||
if (UnitExists("party" .. i) and UnitExists("party" .. i .. "target")) or (pfUI.unlock and pfUI.unlock:IsShown()) then
|
||||
pfUI.uf.group[i].target:Show()
|
||||
else
|
||||
pfUI.uf.group[i].target:Hide()
|
||||
|
||||
Reference in New Issue
Block a user