Users shouldn't "leave" when they enter an incorrect password anymore. Just as soon as someone reimplements the OnLeave hook.
This commit is contained in:
parent
62bc28332a
commit
4b77ca549e
5 changed files with 17 additions and 3 deletions
|
|
@ -656,7 +656,11 @@ namespace TShockAPI
|
|||
|
||||
if (tsplr != null && tsplr.ReceivedInfo)
|
||||
{
|
||||
Utils.Broadcast(tsplr.Name + " has left", Color.Yellow);
|
||||
if (!tsplr.SilentKickInProgress)
|
||||
{
|
||||
Utils.Broadcast(tsplr.Name + " left", Color.Yellow);
|
||||
}
|
||||
|
||||
Log.Info(string.Format("{0} left.", tsplr.Name));
|
||||
|
||||
if (tsplr.IsLoggedIn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue