change permissions to tshock.xxx and fix default group creating to reference permissions that exist, and not hardcoded strings.

This commit is contained in:
Zack Piispanen 2013-09-22 23:14:14 -04:00
parent 8980a2155a
commit b7019d8267
4 changed files with 19 additions and 9 deletions

View file

@ -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));
}
}