Issue with Weapon Inventory

I’m creating an Inventory of Weapons.
So, the OwningWeapons variable is an Array of objects of the Weapon class (thus, an array of actors).

I wanna add to the array a new Minigun object