change permissions to tshock.xxx and fix default group creating to reference permissions that exist, and not hardcoded strings.
This commit is contained in:
parent
8980a2155a
commit
b7019d8267
4 changed files with 19 additions and 9 deletions
|
|
@ -181,7 +181,7 @@ namespace TShockAPI
|
|||
{
|
||||
foreach (var field in typeof (Permissions).GetFields())
|
||||
{
|
||||
field.SetValue(null, field.Name);
|
||||
field.SetValue(null, String.Format("tshock.{0}", field.Name));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue