qbcore-framework / qb-inventory

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

Fixed item disappear when swapping unique items #348

Closed Aero-Codes closed 1 year ago

Aero-Codes commented 2 years ago

Fixed item swapping, When swapping unique item it makes the item disappear

Example how to reproduce the problem: https://streamable.com/5945fe

Z3rio commented 2 years ago

Hm, I see no issues with the actual code except for it being outdated, so if you could merge it / update it through the buttons provided by github then that would be great. I would have to test it myself when I get home though before approving it fully.

nzkfc commented 2 years ago

This needs an update.

ParthXD7 commented 2 years ago

This Really Fixes The Disappearing issue in My Server.

nzkfc commented 2 years ago

This Really Fixes The Disappearing issue in My Server. I tried it 2 times just in case and once on my latest version of qb scripts and it works, but you couldn't stack non unique items.

CptNoHand commented 2 years ago

Confirm, when you run this code, you can't stack non unique items anymore..

nzkfc commented 2 years ago

Knew it haha...

On Sat, 15 Oct 2022, 5:54 am Cpt_NoHand, @.***> wrote:

Confirm, when you run this code, you can't stack non unique items anymore..

— Reply to this email directly, view it on GitHub https://github.com/qbcore-framework/qb-inventory/pull/348#issuecomment-1279246419, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGHUHJXQ7VXACMIQE7ARD3WDGF45ANCNFSM6AAAAAAQEHANXQ . You are receiving this because you commented.Message ID: @.***>

nzkfc commented 1 year ago

This has been resolved now and this can be closed.

tom-osborne commented 1 year ago

Issue fixed in #376