Merge pull request #3144 from ACaiCat/chore-noshow-kick-message

chore: silent kick on invalid client connection
This commit is contained in:
Chris 2026-01-18 15:37:52 +10:30 committed by GitHub
commit 9938cc26e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1461,7 +1461,7 @@ namespace TShockAPI
if (!tsplr.FinishedHandshake) 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; args.Handled = true;
return; return;
} }