Force respawn after death.

(prevents some forms of invisibility)
This commit is contained in:
Deathmax 2011-08-20 20:45:19 +08:00
parent 8b59e1c525
commit 85f1ba6643
3 changed files with 9 additions and 0 deletions

View file

@ -500,6 +500,8 @@ namespace TShockAPI
{
return Tools.HandleGriefer(args.Player, TShock.Config.KillMeAbuseReason);
}
args.Player.LastDeath = DateTime.Now;
args.Player.ForceSpawn = true;
return false;
}