From 6fe33b5c43c2d5c184bd1bad3aa7e808757041d3 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Mon, 13 Apr 2015 00:04:59 -0600 Subject: [PATCH] /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. --- TShockAPI/Rest/RestManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Rest/RestManager.cs b/TShockAPI/Rest/RestManager.cs index b40b8115..9709ae36 100644 --- a/TShockAPI/Rest/RestManager.cs +++ b/TShockAPI/Rest/RestManager.cs @@ -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) {