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; } }