mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-15 01:30:50 +00:00
prediction: add missing inpairs
This commit is contained in:
@@ -172,7 +172,7 @@ pfUI:RegisterModule("prediction", function ()
|
|||||||
function pfUI.prediction:UpdateUnitFrames(name, heal, ress)
|
function pfUI.prediction:UpdateUnitFrames(name, heal, ress)
|
||||||
OVERHEALPERCENT = OVERHEALPERCENT or 20
|
OVERHEALPERCENT = OVERHEALPERCENT or 20
|
||||||
|
|
||||||
for id, frame in _G.pfUI.uf.frames do
|
for id, frame in pairs(_G.pfUI.uf.frames) do
|
||||||
if frame:IsVisible() and frame.label and frame.id then
|
if frame:IsVisible() and frame.label and frame.id then
|
||||||
local unit = frame.label .. frame.id
|
local unit = frame.label .. frame.id
|
||||||
local health, maxHealth = UnitHealth(unit), UnitHealthMax(unit)
|
local health, maxHealth = UnitHealth(unit), UnitHealthMax(unit)
|
||||||
|
|||||||
Reference in New Issue
Block a user