From 5bea1bc1534f520d4c4686a26d963c4e660c98c6 Mon Sep 17 00:00:00 2001 From: grilledham Date: Wed, 28 Nov 2018 17:59:32 +0000 Subject: [PATCH] fixed bug --- features/nuke_control.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/nuke_control.lua b/features/nuke_control.lua index 3a7bef8b..7e999408 100644 --- a/features/nuke_control.lua +++ b/features/nuke_control.lua @@ -150,7 +150,7 @@ local function on_capsule_used(event) if global.players_warned[event.player_index] then if nuke_control.enable_autoban then Server.ban_sync( - player, + player.name, string.format( 'Damaged %i entities with %s. This action was performed automatically. If you want to contest this ban please visit redmew.com/discord.', count, @@ -172,7 +172,7 @@ end local function on_player_joined(event) local player = game.players[event.player_index] if string.match(player.name, '^[Ili1|]+$') then - Server.ban_sync(player, '', '