Reverted, was stopping TSPlayer.All from working. TSPlayer.All should really be a separate class.
This commit is contained in:
parent
47e6543371
commit
8e90b34b99
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ namespace TShockAPI
|
|||
//Todo: Separate this into a few functions. SendTo, SendToAll, etc
|
||||
public virtual void SendData(PacketTypes msgType, string text = "", int number = 0, float number2 = 0f, float number3 = 0f, float number4 = 0f, int number5 = 0)
|
||||
{
|
||||
if (!RealPlayer || !ConnectionAlive)
|
||||
if (RealPlayer && !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