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:
parent
bb711f8e1d
commit
56beeb446a
2 changed files with 15 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue