Return more modern error in AddGroup

This commit is contained in:
Lucas Nicodemus 2015-03-11 09:00:14 -06:00
parent caf3c662eb
commit 03d817e0a2

View file

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