Add %specifier% to SendFileTextAsMessage

This commit is contained in:
stacey 2021-05-14 12:58:16 -04:00 committed by GitHub
parent 356cdaa7ad
commit e0c9f45038
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1509,6 +1509,7 @@ namespace TShockAPI
foo = foo.Replace("%map%", (TShock.Config.Settings.UseServerName ? TShock.Config.Settings.ServerName : Main.worldName));
foo = foo.Replace("%players%", String.Join(",", players));
foo = foo.Replace("%specifier%", TShock.Config.Settings.CommandSpecifier);
SendMessage(foo, lineColor);
}