I also recommend adding a “Current Inventory Slot” variable to your items struct to keep track of your items, could be -1 if the item is out in the world and not in your inventory.
I also recommend adding a “Current Inventory Slot” variable to your items struct to keep track of your items, could be -1 if the item is out in the world and not in your inventory.