Commit 7546dc26 authored by Tukz's avatar Tukz

Just to be safe.

parent ead5e7cf
......@@ -739,6 +739,10 @@ function TukuiUnitFrames:DisplayNameplatePowerAndCastBar(unit, cur, min, max)
unit = self:GetParent().unit
end
if not unit then
return
end
if not cur then
cur, max = UnitPower(unit), UnitPowerMax(unit)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment