Fucked up the validate registercommand logic (Did it the wrong way around)

This commit is contained in:
David
2022-08-13 21:24:44 +02:00
parent b0a8faeb67
commit cba5b23888
+1 -1
View File
@@ -113,7 +113,7 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion)
end
end
if v.validate ~= false then
if v.validate == false then
error = nil
end