View Single Post
04-20-09, 06:23 AM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by haste View Post
Most likely not, but based on your comment you've already had this issue without reporting it.
I havent, but looking at the code it seems it still uses the old event system:
Code:
local OnPowerUpdate
do
	local UnitMana = UnitMana
	OnPowerUpdate = function(self)
		if(self.disconnected) then return end
		local power = UnitMana(self.unit)

		if(power ~= self.min) then
			self.min = power

			self:GetParent():UNIT_MAXMANA("OnPowerUpdate", self.unit)
		end
	end
end
  Reply With Quote