Fixed modgroup to actually update the local( ram ) copies of the groups. Also set it up to properly delete from a group.

This commit is contained in:
Zack Piispanen 2011-11-26 00:28:46 -05:00
parent bb711f8e1d
commit 56beeb446a
2 changed files with 15 additions and 3 deletions

View file

@ -73,6 +73,14 @@ namespace TShockAPI
{
permissions.Add(permission);
}
public void SetPermission( List<string> permission)
{
permissions.Clear();
foreach( string s in permission )
{
permissions.Add( s );
}
}
}
public class SuperAdminGroup : Group