Fixed /p stripping first character of the message.
This commit is contained in:
parent
d4cf37fffe
commit
01f9f2579d
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ namespace TShockAPI
|
||||||
int playerTeam = Main.player[args.PlayerID].team;
|
int playerTeam = Main.player[args.PlayerID].team;
|
||||||
if (playerTeam != 0)
|
if (playerTeam != 0)
|
||||||
{
|
{
|
||||||
string msg = "<" + Main.player[args.PlayerID].name + "> " + args.Message.Remove(0, 3);
|
string msg = "<" + Main.player[args.PlayerID].name + "> " + args.Message.Remove(0, 2);
|
||||||
for (int i = 0; i < Main.player.Length; i++)
|
for (int i = 0; i < Main.player.Length; i++)
|
||||||
{
|
{
|
||||||
if (Main.player[i].team == Main.player[args.PlayerID].team)
|
if (Main.player[i].team == Main.player[args.PlayerID].team)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue