Don't need the testing releated log statement anymore
This commit is contained in:
parent
a976c51101
commit
9c5bb75ac8
1 changed files with 0 additions and 1 deletions
|
|
@ -212,7 +212,6 @@ namespace TShockAPI
|
||||||
/// <param name="reason">string reason</param>
|
/// <param name="reason">string reason</param>
|
||||||
public static void ForceKick(TSPlayer player, string reason)
|
public static void ForceKick(TSPlayer player, string reason)
|
||||||
{
|
{
|
||||||
Log.Info("ForceKick Pre : " + player.Index + " status " + Main.player[player.Index].active + " " + player.TPlayer.active + " " + Main.player[player.Index].name + " " + player.TPlayer.name);
|
|
||||||
if (!Netplay.serverSock[player.Index].active || Netplay.serverSock[player.Index].kill)
|
if (!Netplay.serverSock[player.Index].active || Netplay.serverSock[player.Index].kill)
|
||||||
return;
|
return;
|
||||||
NetMessage.SendData(0x2, player.Index, -1, reason, 0x0, 0f, 0f, 0f);
|
NetMessage.SendData(0x2, player.Index, -1, reason, 0x0, 0f, 0f, 0f);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue