Don't send PlayerTeam packet twice in SetTeam
This commit is contained in:
parent
035e9d114b
commit
ec44ae6ff6
1 changed files with 0 additions and 1 deletions
|
|
@ -1520,7 +1520,6 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
Main.player[Index].team = team;
|
Main.player[Index].team = team;
|
||||||
NetMessage.SendData((int)PacketTypes.PlayerTeam, -1, -1, NetworkText.Empty, Index);
|
NetMessage.SendData((int)PacketTypes.PlayerTeam, -1, -1, NetworkText.Empty, Index);
|
||||||
NetMessage.SendData((int)PacketTypes.PlayerTeam, -1, Index, NetworkText.Empty, Index);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private DateTime LastDisableNotification = DateTime.UtcNow;
|
private DateTime LastDisableNotification = DateTime.UtcNow;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue