From 203b9bf2811459ae459ce4c987ed6d66ca82a95f Mon Sep 17 00:00:00 2001 From: gohjoseph Date: Fri, 18 Mar 2022 01:56:59 +0800 Subject: [PATCH] Remove unneeded kick display `adminUsername` --- TShockAPI/TShock.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 9da8c51a..6d96cb2d 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -521,7 +521,7 @@ namespace TShockAPI { if (player.IP == ip) { - player.Kick("You logged in from the same IP.", true, true, "Server", true); + player.Kick("You logged in from the same IP.", true, true, null, true); args.Handled = true; return; } @@ -530,7 +530,7 @@ namespace TShockAPI var ips = JsonConvert.DeserializeObject>(player.Account.KnownIps); if (ips.Contains(ip)) { - player.Kick("You logged in from another location.", true, true, "Server", true); + player.Kick("You logged in from another location.", true, true, null, true); args.Handled = true; } }