mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Merge pull request #397 from mcNuggets1/main
fix() - validate registercommand logic (Did it the wrong way around)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user