Get player character and get owner

I have a question about a situation that I am facing right now. I’m trying to modify a farming system that after the harvest an item comes to the players inventory and its multiplayer so if server harvests the plant it will get it and same with the client. The problem is that when I cast to third person character and use “Get player character” then only the server will get the item/reward. I’ve heard that there is a way to get pass this problem with “get owner” and then “get component by class” but I dont really understand what am I suppoes to use after that. I’ve tried to watch casting videos on youtube, but they don’t show both sides (multiplayer and singleplayer). I hope I didn’t explain my problem to hard and thanks for your help!