Fix SilentKickInProgress
This commit is contained in:
parent
458bf65e53
commit
6315fcc533
1 changed files with 2 additions and 5 deletions
|
|
@ -825,12 +825,9 @@ namespace TShockAPI
|
|||
|
||||
if (tsplr != null && tsplr.ReceivedInfo)
|
||||
{
|
||||
if (!tsplr.SilentKickInProgress || tsplr.State > 1)
|
||||
if (!tsplr.SilentKickInProgress && tsplr.State >= 3)
|
||||
{
|
||||
if (tsplr.State >= 2)
|
||||
{
|
||||
Utils.Broadcast(tsplr.Name + " left", Color.Yellow);
|
||||
}
|
||||
Utils.Broadcast(tsplr.Name + " left", Color.Yellow);
|
||||
}
|
||||
Log.Info(string.Format("{0} disconnected.", tsplr.Name));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue