Add prefix, suffix, color to group command.
Fix stupid chat color getter returning the hex color.
This commit is contained in:
parent
1df0129919
commit
e246183108
4 changed files with 151 additions and 7 deletions
|
|
@ -719,7 +719,7 @@ namespace TShockAPI
|
|||
var permissions = (null == parameters["permissions"]) ? group.Permissions : parameters["permissions"];
|
||||
try
|
||||
{
|
||||
TShock.Groups.UpdateGroup(group.Name, parent, permissions, chatcolor);
|
||||
TShock.Groups.UpdateGroup(group.Name, parent, permissions, chatcolor, group.Suffix, group.Prefix);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue