Whitelist kick message.
This commit is contained in:
parent
7bfd9d244e
commit
7c7a9a90ee
2 changed files with 3 additions and 1 deletions
|
|
@ -656,7 +656,7 @@ namespace TShockAPI
|
|||
|
||||
if (!FileTools.OnWhitelist(player.IP))
|
||||
{
|
||||
Utils.ForceKick(player, "Not on whitelist.");
|
||||
Utils.ForceKick(player, Config.WhitelistKickReason);
|
||||
handler.Handled = true;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue