Skip to content

Commit 02d91c1

Browse files
committed
fix partyTargetFrames
1 parent 124a5cd commit 02d91c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

LibGetFrame-1.0.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local MAJOR_VERSION = "LibGetFrame-1.0"
2-
local MINOR_VERSION = 21
2+
local MINOR_VERSION = 22
33
if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
44
local lib = LibStub:NewLibrary(MAJOR_VERSION, MINOR_VERSION)
55
if not lib then return end
@@ -68,7 +68,7 @@ local defaultTargettargetFrames = {
6868
"TargetTargetFrame",
6969
}
7070
local defaultPartyTargetFrames = {
71-
"SUFChildpartytarget",
71+
"SUFChildpartytarget%d",
7272
}
7373

7474
local GetFramesCache = {}
@@ -227,7 +227,7 @@ function lib.GetUnitFrame(target, opt)
227227
end
228228
end
229229
if opt.ignorePartyTargetFrame then
230-
for _,v in pairs(opt.partyTarget) do
230+
for _,v in pairs(opt.partyTargetFrames) do
231231
tinsert(ignoredFrames, v)
232232
end
233233
end

0 commit comments

Comments
 (0)