qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
50 stars 377 forks source link

SetupShopItems error fixed #395

Closed kklrh closed 1 year ago

kklrh commented 1 year ago

there is an error in the shop setupitem function and this is the fix for it

Description

yes it fixes the issue

kklrh commented 1 year ago

This PR doesn't do anything at all? The only thing it does is break the script, the id parameter is not needed nor used in the function. Nor is it passed through while calling the function.

no it doesn't break the script you can got to line 1355 you can see the function called with two parameters the id parameter and the shopitems parameter and its already called so thats why i added this and there another way to remove the id parameter when its called in the open inventory event

kklrh commented 1 year ago

error already fixed before