Skip to content

Commit

Permalink
fix partyTargetFrames
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuds committed Sep 3, 2020
1 parent 124a5cd commit 02d91c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LibGetFrame-1.0.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local MAJOR_VERSION = "LibGetFrame-1.0"
local MINOR_VERSION = 21
local MINOR_VERSION = 22
if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
local lib = LibStub:NewLibrary(MAJOR_VERSION, MINOR_VERSION)
if not lib then return end
Expand Down Expand Up @@ -68,7 +68,7 @@ local defaultTargettargetFrames = {
"TargetTargetFrame",
}
local defaultPartyTargetFrames = {
"SUFChildpartytarget",
"SUFChildpartytarget%d",
}

local GetFramesCache = {}
Expand Down Expand Up @@ -227,7 +227,7 @@ function lib.GetUnitFrame(target, opt)
end
end
if opt.ignorePartyTargetFrame then
for _,v in pairs(opt.partyTarget) do
for _,v in pairs(opt.partyTargetFrames) do
tinsert(ignoredFrames, v)
end
end
Expand Down

0 comments on commit 02d91c1

Please sign in to comment.