Merge pull request #397 from mcNuggets1/main

fix() - validate registercommand logic (Did it the wrong way around)
This commit is contained in:
Benzo
2022-08-13 23:44:04 +02:00
committed by GitHub
+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