Protect server from dead players until they tell us they respawned. ForceRespawn will spam client until they notify us of a respawn. Prevents silly people from exploiting in dead.
This commit is contained in:
parent
5619ae3660
commit
3350418f5d
2 changed files with 2 additions and 2 deletions
|
|
@ -1118,6 +1118,7 @@ namespace TShockAPI
|
|||
else
|
||||
args.Player.InitSpawn = true;
|
||||
|
||||
args.Player.ForceSpawn = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue