Inventory blueprint function not working properly

Hello all! I have an inventory system that allows me to pick up different items from child actors from one main item blueprint. I am trying to make it so I can use two main child blueprints instead. I tried duplicating this code, putting it at the end of this code, and replacing the inventory variables with a pistol ammo variable. The code technically works. The problem is the pistol ammo only shows up in the inventory after i pick up something from the first main child blueprint… How can i go about using two blueprints for one array? If thats the question i need to be asking. Here is the regular code not duplicated below