Fix hard/mediumcore ban on death
Removed the force parameter since it is of no use.
This commit is contained in:
parent
3d7ba2b2d5
commit
d6caeb15cc
2 changed files with 15 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue