qbcore-framework / qb-inventory

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

[BUG] Loosing item when adding to trunk using right clic #544

Open TabbHonmin opened 1 month ago

TabbHonmin commented 1 month ago

Summary

If you try to add an item to a full trunk by clicking right mouse button on an item from player inventory, the item is not added to trunk (because it is full) and item is removed from player inventory

Reproduction

  1. Open vehicle trunk
  2. Make sure no trunk slot is free
  3. Right clic on an item from player inventory
  4. Item is gone and not added to trunk

Expected behavior

Item should not be removed from player inventory, because target inventory is full.

Actual behavior

Item is removed from player inventory but item is not added to trunk. So item is lost.

Additional context

No response

Last Updated

Last week

Custom Resources

qb ressources

Resource Rename

No