qb-inventory
qb-inventory copied to clipboard
fix: make useitem fn fit qb-core changes
Description
This needs to be merged alongside this PR: https://github.com/qbcore-framework/qb-core/pull/1109
The reasoning behind the changes is stated in there.
Checklist
- [x] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
- [x] My code fits the style guidelines.
- [x] My PR fits the contribution guidelines.