Return more modern error in AddGroup
This commit is contained in:
parent
caf3c662eb
commit
03d817e0a2
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ namespace TShockAPI.DB
|
||||||
{
|
{
|
||||||
if (exceptions)
|
if (exceptions)
|
||||||
throw new GroupExistsException(name);
|
throw new GroupExistsException(name);
|
||||||
return "Error: Group already exists. Use /modgroup to change permissions.";
|
return "Error: Group already exists; unable to add group.";
|
||||||
}
|
}
|
||||||
|
|
||||||
var group = new Group(name, null, chatcolor);
|
var group = new Group(name, null, chatcolor);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue