Quantcast

version 1.1.0 adding group support

Dorwido [11-07-11 - 19:38]
version 1.1.0 adding group support

Signed-off-by:  <>
Filename
HealerManaWatch.lua
diff --git a/HealerManaWatch.lua b/HealerManaWatch.lua
index c1dc65f..7ca3b18 100644
--- a/HealerManaWatch.lua
+++ b/HealerManaWatch.lua
@@ -30,13 +30,11 @@ function f:CreateOrReturnBar(pos,playername,playercolor,online,isdead)
 		d:SetWidth(barsize.width)
 		d:SetHeight(barsize.height)
 		d:SetBackdrop({bgFile = "Interface/RAIDFRAME/UI-RaidFrame-GroupBg"});
-
 		d.mtext = d:CreateFontString(nil, "OVERLAY", "TextStatusBarText");
 		d.mtext:SetPoint("CENTER", d);
 		d.mtext:SetWidth(barsize.width)
-
 		d.playername = d:CreateFontString(nil, "OVERLAY", "TextStatusBarText");
-
+
 		bars[pos] = d
 	end
 		if(online==nil or isdead==1) then
@@ -115,16 +113,15 @@ function f:EventHandler(event,...)
 			f:EnableMod()
 		end
 	elseif(event=="PARTY_MEMBERS_CHANGED") then
-		print("lalala")
+
 		if UnitInRaid("player") then
 			f:UnregisterEvent("PARTY_MEMBERS_CHANGED"); --no need to use this if in raid
-			print("lalala24")
 			return
 		elseif not(UnitInParty("player")) then
 			f:DisableMod();
 			return
 		end
-		print("lalala2")
+
 		watching = {}
 		f:HideBars();
 		local unittowatch;