From d417c928325ffd3dc1c82653981a35674f8094f3 Mon Sep 17 00:00:00 2001 From: Csoki Date: Thu, 24 Nov 2022 23:59:31 +0100 Subject: [PATCH] fix height check --- [esx]/esx_identity/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[esx]/esx_identity/server/main.lua b/[esx]/esx_identity/server/main.lua index dfea3ab2..efca013f 100644 --- a/[esx]/esx_identity/server/main.lua +++ b/[esx]/esx_identity/server/main.lua @@ -104,7 +104,7 @@ end local function checkHeightFormat(height) local numHeight = tonumber(height) - return numHeight < Config.MinHeight and numHeight > Config.MaxHeight + return numHeight >= Config.MinHeight and numHeight <= Config.MaxHeight end local function convertToLowerCase(str)