From a158b01c5b6505d934e7af956d76569048fbe39d Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Thu, 21 Sep 2023 11:27:45 +0200 Subject: [PATCH] fix: esx_basicneeds\server\main.lua fix lint error --- .../resources/[esx_addons]/esx_basicneeds/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-data/resources/[esx_addons]/esx_basicneeds/server/main.lua b/server-data/resources/[esx_addons]/esx_basicneeds/server/main.lua index 1dc4ee8b4..6cbd0c7e1 100644 --- a/server-data/resources/[esx_addons]/esx_basicneeds/server/main.lua +++ b/server-data/resources/[esx_addons]/esx_basicneeds/server/main.lua @@ -1,4 +1,4 @@ -ESX.RegisterCommand('heal', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('heal', 'admin', function(_, args) args.playerId.triggerEvent('esx_basicneeds:healPlayer') args.playerId.showNotification(_U('got_healed')) end, true, {help = 'Heal a player, or yourself - restores thirst, hunger and health.', validate = true, arguments = {