Added Config option for Rest spam.
This commit is contained in:
parent
545709e845
commit
811a98bb4c
4 changed files with 8 additions and 4 deletions
|
|
@ -306,7 +306,7 @@ namespace TShockAPI
|
|||
var sb = new StringBuilder();
|
||||
foreach (var field in typeof(Permissions).GetFields().OrderBy(f => f.Name))
|
||||
{
|
||||
var name = field.Name;
|
||||
var name = (string)field.GetValue(null);
|
||||
|
||||
var descattr =
|
||||
field.GetCustomAttributes(false).FirstOrDefault(o => o is DescriptionAttribute) as DescriptionAttribute;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue