From e0c9f4503870b44d551159136089aca3847081a2 Mon Sep 17 00:00:00 2001 From: stacey <57187883+moisterrific@users.noreply.github.com> Date: Fri, 14 May 2021 12:58:16 -0400 Subject: [PATCH] Add %specifier% to SendFileTextAsMessage --- TShockAPI/TSPlayer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index 68d8e306..915399eb 100644 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -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); }