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:
parent
4c01740177
commit
4f2fff050d
2 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue