Kick/BanOnHardcoreDeath now only acts on hardcore players.
This commit is contained in:
parent
935c051163
commit
da9aac5d5b
1 changed files with 1 additions and 1 deletions
|
|
@ -570,7 +570,7 @@ namespace TShockAPI
|
|||
|
||||
if (args.Player.InitSpawn && args.TPlayer.inventory[args.TPlayer.selectedItem].type != 50)
|
||||
{
|
||||
if ((TShock.Config.KickOnHardcoreDeath || TShock.Config.BanOnHardcoreDeath))
|
||||
if (args.TPlayer.hardCore && (TShock.Config.KickOnHardcoreDeath || TShock.Config.BanOnHardcoreDeath))
|
||||
if (args.TPlayer.selectedItem != 50)
|
||||
{
|
||||
if (TShock.Config.BanOnHardcoreDeath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue