/v2/groups/create uses non-deprecated AddGroup call
This should have no functional change that's negative. The previous method only returned errors based on exceptions, so switching does nothing except remove deprecated code.
This commit is contained in:
parent
1b835c0597
commit
6fe33b5c43
1 changed files with 1 additions and 1 deletions
|
|
@ -980,7 +980,7 @@ namespace TShockAPI
|
|||
return RestMissingParam("group");
|
||||
try
|
||||
{
|
||||
TShock.Groups.AddGroup(name, args.Parameters["parent"], args.Parameters["permissions"], args.Parameters["chatcolor"], true);
|
||||
TShock.Groups.AddGroup(name, args.Parameters["parent"], args.Parameters["permissions"], args.Parameters["chatcolor"]);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue