mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 21:20:00 +00:00
nameplates: check for valid limits on buff anchors
This commit is contained in:
@@ -425,7 +425,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
||||
nameplate.debuffs[i]:SetPoint(aligna, nameplate.health, alignb, 0, offs)
|
||||
elseif i <= limit then
|
||||
nameplate.debuffs[i]:SetPoint("LEFT", nameplate.debuffs[i-1], "RIGHT", 1, 0)
|
||||
elseif i > limit then
|
||||
elseif i > limit and limit > 0 then
|
||||
nameplate.debuffs[i]:SetPoint(aligna, nameplate.debuffs[i-limit], alignb, 0, space)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user