Fix player respawn again (#1830)
* fix respawn time unit, add spawn bouncer, add respawn time config warning Co-authored-by: Lucas Nicodemus <shank@shanked.me>
This commit is contained in:
parent
341424248c
commit
56a9e27365
3 changed files with 13 additions and 7 deletions
|
|
@ -2065,6 +2065,11 @@ namespace TShockAPI
|
|||
|
||||
private static bool HandleSpawn(GetDataHandlerArgs args)
|
||||
{
|
||||
if (args.Player.Dead && args.Player.RespawnTimer > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
byte player = args.Data.ReadInt8();
|
||||
short spawnx = args.Data.ReadInt16();
|
||||
short spawny = args.Data.ReadInt16();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue