chore: silent kick on invalid client connection

This commit is contained in:
Cai 2025-09-17 21:36:30 +08:00
parent a867772116
commit 7c41775d6d
No known key found for this signature in database
GPG key ID: 7D738D40768F4D11

View file

@ -1456,7 +1456,7 @@ namespace TShockAPI
if (!tsplr.FinishedHandshake)
{
tsplr.Kick(GetString("Your client didn't send the right connection information."), true);
tsplr.Kick(GetString("Your client didn't send the right connection information."), true, true);
args.Handled = true;
return;
}