Fix merge conflict part 2
This commit is contained in:
parent
f74a0f6a70
commit
70c8ef548f
1 changed files with 0 additions and 1 deletions
|
|
@ -1003,7 +1003,6 @@ namespace TShockAPI
|
|||
var reason = null == args.Parameters["reason"] ? "Banned via web" : args.Parameters["reason"];
|
||||
TShock.Bans.AddBan(player.IP, player.Name, "", "", reason);
|
||||
player.Kick(reason, true, false, null, true);
|
||||
TShock.Utils.ForceKick(player, reason, false, true);
|
||||
return RestResponse("Player " + player.Name + " was banned");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue