qbcore-framework / qb-shops

Shops For QB-Core
GNU General Public License v3.0
27 stars 215 forks source link

Weapon serial numbers do not repopulate after you purchase a weapon #14

Closed Developer-Bear closed 3 years ago

Developer-Bear commented 3 years ago

Steps to reproduce:

  1. Purchase a weapon from ammunation (note the serial number)
  2. Observe that the serial number of the weapon in the shop does not update
  3. Purchase a second weapon from ammunation

Result: Both weapons have the same serial number. (Can be done infinite times)

Notes:

See my fix for my mistake in my PR ( does not resolve above issue, however ) https://github.com/qbcore-framework/qb-shops/pull/13

Developer-Bear commented 3 years ago

Resolved by: https://github.com/qbcore-framework/qb-shops/pull/16 & https://github.com/qbcore-framework/qb-inventory/pull/46