Fix hard/mediumcore ban on death

Removed the force parameter since it is of no use.
This commit is contained in:
Luke 2022-10-07 18:42:31 +10:00
parent 3d7ba2b2d5
commit d6caeb15cc
2 changed files with 15 additions and 19 deletions

View file

@ -4157,7 +4157,7 @@ namespace TShockAPI
if (shouldBan)
{
if (!args.Player.Ban(banReason, false, "TShock"))
if (!args.Player.Ban(banReason, "TShock"))
{
TShock.Log.ConsoleDebug("GetDataHandlers / HandlePlayerKillMeV2 kicked with difficulty {0} {1}", args.Player.Name, args.TPlayer.difficulty);
args.Player.Kick("You died! Normally, you'd be banned.", true, true);