API compatibility updates.
API compatibility updates.

--- a/SolacePartyBuffs.lua
+++ b/SolacePartyBuffs.lua
@@ -62,7 +62,7 @@
 		msg = tonumber(msg)
 		if ( msg > 0 and msg < 33 ) then
 			if ( msg < SolacePartyBuffs.Options.max_party_buffs ) then
-				for j = 1, GetNumPartyMembers() do
+				for j = 1, GetNumGroupMembers() do
 					local frame = "SolacePartyBuffFrame"..j
 					for i = msg, SolacePartyBuffs.Options.max_party_buffs do
 						local button = _G[frame.."Buff"..i]
@@ -73,7 +73,7 @@
 				end
 			end
 			SolacePartyBuffs.Options.max_party_buffs = msg
-			for i = 1, GetNumPartyMembers() do
+			for i = 1, GetNumGroupMembers() do
 				SolacePartyBuffs:UpdateBuffs("party"..i)
 			end
 			
@@ -91,7 +91,7 @@
 		msg = tonumber(msg)
 		if ( msg > 0 and msg < 33 ) then
 			if ( msg < SolacePartyBuffs.Options.max_party_debuffs ) then
-				for j = 1, GetNumPartyMembers() do
+				for j = 1, GetNumGroupMembers() do
 					local frame = "SolacePartyDebuffFrame"..j
 					for i = msg, SolacePartyBuffs.Options.max_party_debuffs do
 						local button = _G[frame.."Debuff"..i]
@@ -102,7 +102,7 @@
 				end
 			end
 			SolacePartyBuffs.Options.max_party_debuffs = msg
-			for i = 1, GetNumPartyMembers() do
+			for i = 1, GetNumGroupMembers() do
 				SolacePartyBuffs:UpdateBuffs("party"..i)
 			end
 			
@@ -131,7 +131,7 @@
 				DEFAULT_CHAT_FRAME:AddMessage(SPB_CURRENT..SPB_DISABLED)
 			end
 		end
-		for i = 1, GetNumPartyMembers() do
+		for i = 1, GetNumGroupMembers() do
 			SolacePartyBuffs:UpdateBuffs("party"..i)
 		end
 	else
@@ -163,7 +163,7 @@
 		end
 	end
 	if ( event == "PARTY_MEMBERS_CHANGED" or event == "PLAYER_ENTERING_WORLD" ) then
-		for i = 1, GetNumPartyMembers() do
+		for i = 1, GetNumGroupMembers() do
 			self:UpdateBuffs("party"..i)
 		end
 	end
@@ -222,7 +222,7 @@
 			if ( duration ) then
 				if ( duration > 0 ) then
 					cooldown:Show()
-					CooldownFrame_SetTimer(cooldown, expirationTime - duration, duration, 1)
+					CooldownFrame_Set(cooldown, expirationTime - duration, duration, 1)
 				else
 					cooldown:Hide()
 				end
@@ -287,7 +287,7 @@
 			if ( duration ) then
 				if ( duration > 0 ) then
 					cooldown:Show()
-					CooldownFrame_SetTimer(cooldown, expirationTime - duration, duration, 1)
+					CooldownFrame_Set(cooldown, expirationTime - duration, duration, 1)
 				else
 					cooldown:Hide()
 				end