You’re picking a class. If there are 2 barrels of that class spawned (or more), there’s no telling which one will be returned. And what happens if you want to pick up / throw something else, other than a barrel.
As mention above, reference what you’re picking up. Get (all) Actor of Class is a bad / lazy approch. It had its uses, this is not oje of them.
Inheritance could work well ebough - interact with base class only. And interface could work better. And combining both would be the best.
I also see Tick + Delay, also unmanagable in the long run. Consider event driven approach whenever possible.