Quick bug fix - forgot about respawns + only set handshake once

The connection state should NEVER be set to under 3 if the player is fully connected.
This commit is contained in:
ohayo 2025-02-02 12:40:04 +10:00
parent 4c01740177
commit 4f2fff050d
2 changed files with 4 additions and 2 deletions

View file

@ -1461,7 +1461,8 @@ namespace TShockAPI
}
}
TShock.Log.ConsoleInfo($"Setting handshake to false for {tsplr.Name}");
tsplr.FinishedHandshake = false;
// Fire the OnPlayerLogout hook too, if the player was logged in and they have a TSPlayer object.