mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-02 19:28:52 +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