oops, forgot to do this

This commit is contained in:
Maverick Motherfucker 2011-06-03 21:41:17 -07:00
parent 6f3f53f0dc
commit 517b40eec6

View file

@ -326,15 +326,15 @@ namespace TShockAPI
}
/// <summary>
/// Shows a MOTD to the player
/// Returns a Group from the name of the group
/// </summary>
/// <param name="ply">int player</param>
public static Group GetGroup(string name)
/// <param name="ply">string groupName</param>
public static Group GetGroup(string groupName)
{
//first attempt on cached groups
for (int i = 0; i < groups.Count; i++)
{
if (groups[i].GetName().Equals(name))
if (groups[i].GetName().Equals(groupName))
{
return groups[i];
}
@ -344,7 +344,7 @@ namespace TShockAPI
for (int i = 0; i < groups.Count; i++)
{
if (groups[i].GetName().Equals(name))
if (groups[i].GetName().Equals(groupName))
{
return groups[i];
}