fix and oopsie

This commit is contained in:
Tony authored and GitHub committed 2023-04-12 16:54:40 +02:00
1 parent d0af578a69
commit a9f5c3e8e6
1 file changed
+3
@@ -172,6 +172,7 @@ Prevents players from purchasing items at General stores.
**Example:**
```lua
local hookId = exports.ox_inventory:registerHook('craftItem', function(payload)
print(json.encode(payload, { indent = true, sort_keys = true }))
return false
@@ -182,6 +183,8 @@ end, {
},
})
```
Prevent lockpicks from being crafted by players.
## removeHooks