mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 04:01:22 +00:00
Fucked up the 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