It fix item quantity infinite usage. then you used input type is number it not accept decimal values but when you enter like 10.00000000000254 then it accept and player can buy or collect item with 10.00000000000254 quantity. after he use normally first 10 usage and finaly last it remain 0.00000000000254 quantity of that item. when player use this 0.00000000000254 quantity item can use but qb-core item remove function failed to remove this item from player invetory. so when qb-core item remove function failed to remove item then this item player can use in infinite quanty. it not removey from inventory at any cost.
Describe Pull request
It fix item quantity infinite usage. then you used input type is number it not accept decimal values but when you enter like 10.00000000000254 then it accept and player can buy or collect item with 10.00000000000254 quantity. after he use normally first 10 usage and finaly last it remain 0.00000000000254 quantity of that item. when player use this 0.00000000000254 quantity item can use but qb-core item remove function failed to remove this item from player invetory. so when qb-core item remove function failed to remove item then this item player can use in infinite quanty. it not removey from inventory at any cost.
player mainly use this bug for unlimited ammo, armors, ifax, https://media.discordapp.net/attachments/977925336882876437/982281688468049930/unknown.png
so my comit prevent . (dot) in input box to disallow making decimal quanty.
If your PR is to fix an issue mention that issue here
Questions (please complete the following information):