Update TSPlayer.cs
This commit is contained in:
parent
fabea62d96
commit
d61ebb4111
1 changed files with 2 additions and 2 deletions
|
|
@ -1528,8 +1528,8 @@ namespace TShockAPI
|
||||||
foo = foo.Replace("%map%", (TShock.Config.Settings.UseServerName ? TShock.Config.Settings.ServerName : Main.worldName));
|
foo = foo.Replace("%map%", (TShock.Config.Settings.UseServerName ? TShock.Config.Settings.ServerName : Main.worldName));
|
||||||
foo = foo.Replace("%players%", String.Join(", ", players));
|
foo = foo.Replace("%players%", String.Join(", ", players));
|
||||||
foo = foo.Replace("%specifier%", TShock.Config.Settings.CommandSpecifier);
|
foo = foo.Replace("%specifier%", TShock.Config.Settings.CommandSpecifier);
|
||||||
foo = foo.Replace("%onlineplayers%", Convert.ToString(TShock.Utils.GetActivePlayerCount()));
|
foo = foo.Replace("%onlineplayers%", TShock.Utils.GetActivePlayerCount().ToString());
|
||||||
foo = foo.Replace("%serverslots%", Convert.ToString(TShock.Config.Settings.MaxSlots));
|
foo = foo.Replace("%serverslots%", TShock.Config.Settings.MaxSlots.ToString());
|
||||||
|
|
||||||
SendMessage(foo, lineColor);
|
SendMessage(foo, lineColor);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue