Fix SilentKickInProgress
This commit is contained in:
parent
458bf65e53
commit
6315fcc533
1 changed files with 2 additions and 5 deletions
|
|
@ -825,13 +825,10 @@ namespace TShockAPI
|
||||||
|
|
||||||
if (tsplr != null && tsplr.ReceivedInfo)
|
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));
|
Log.Info(string.Format("{0} disconnected.", tsplr.Name));
|
||||||
|
|
||||||
if (tsplr.IsLoggedIn && !tsplr.IgnoreActionsForClearingTrashCan)
|
if (tsplr.IsLoggedIn && !tsplr.IgnoreActionsForClearingTrashCan)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue