fix player spawn stuff
This commit is contained in:
parent
208afe9a7e
commit
946d54b69e
6 changed files with 53 additions and 38 deletions
|
|
@ -1047,7 +1047,7 @@ namespace TShockAPI
|
|||
|
||||
if (player.RespawnTimer > 0 && --player.RespawnTimer == 0 && player.Difficulty != 2)
|
||||
{
|
||||
player.Spawn();
|
||||
player.Spawn(PlayerSpawnContext.ReviveFromDeath);
|
||||
}
|
||||
|
||||
if (!Main.ServerSideCharacter || (Main.ServerSideCharacter && player.IsLoggedIn))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue