Removed useless permissions class and finished loading groups
This commit is contained in:
parent
f5723ee834
commit
3774c30f7d
3 changed files with 30 additions and 3 deletions
|
|
@ -50,6 +50,16 @@ namespace TShockAPI
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void NegatePermission(string permission)
|
||||
{
|
||||
negatedPermissions.Add(permission);
|
||||
}
|
||||
|
||||
public void AddPermission(string permission)
|
||||
{
|
||||
permissions.Add(permission);
|
||||
}
|
||||
}
|
||||
|
||||
public class SuperAdminGroup : Group
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue