JCInventory, Grid based jigsaw Inventory for your projects

I have been following your c++ survival tutorials very closely and I cannot figure out why i am not getting an item displayed in my inventory around 7 minutes into video #2.5

Everything seems to be set up exactly as you showed but when i interact with the rifle item, it is just removed from the world and not added to the player’s inventory.

Any ideas on how to debug this? I am not having any luck placing breakpoints to find out more information.