Fixed TSPlayer All
This commit is contained in:
parent
1698404b30
commit
f59fc55f61
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ namespace TShockAPI
|
|||
|
||||
public void SendData(PacketTypes msgType, string text = "", int number = 0, float number2 = 0f, float number3 = 0f, float number4 = 0f, int number5 = 0)
|
||||
{
|
||||
if (!ConnectionAlive)
|
||||
if (Index != -1 && !ConnectionAlive)
|
||||
return;
|
||||
NetMessage.SendData((int)msgType, Index, -1, text, number, number2, number3, number4, number5);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue