Make death in hardcore sting a little more
This commit is contained in:
parent
0ac486ab5e
commit
9f8db96188
1 changed files with 1 additions and 0 deletions
|
|
@ -2314,6 +2314,7 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
if (TShock.CharacterDB.RemovePlayer(args.Player.Account.ID))
|
if (TShock.CharacterDB.RemovePlayer(args.Player.Account.ID))
|
||||||
{
|
{
|
||||||
|
args.Player.SendErrorMessage("You have fallen in hardcore mode, and your items have been lost forever.");
|
||||||
TShock.CharacterDB.SeedInitialData(args.Player.Account);
|
TShock.CharacterDB.SeedInitialData(args.Player.Account);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue