From 6740aac39b4a0d2f62cd8a5ba647abab7f7baf01 Mon Sep 17 00:00:00 2001 From: ATG Date: Wed, 27 May 2020 06:42:11 -0400 Subject: [PATCH] Update server.lua --- server/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.lua b/server/server.lua index 201c883..31caa9a 100644 --- a/server/server.lua +++ b/server/server.lua @@ -122,8 +122,8 @@ AddEventHandler("esx-qalle-jail:unJailPlayer", function(tI) local src = source; local targetIdentifier = tI; local xTgt = ESX.GetPlayerFromIdentifier(targetIdentifier); - local tgt = xTgt.source; if xTgt ~= nil then + local tgt = xTgt.source; local legit = checkIfLegit(src, tgt); if legit["legit"] == true then UnJail(tgt)