So ive rebuilt my loot system for the 5th something time and this time something odd is happening.
As you can see this is a client only event, but when the client runs over an actor both the server and client prints “One added”. Also at times client prints that one has been added twice.
If server runs over the item both server and client prints the same thing but it never overlaps twice.
Also earlier I had a pretty simple start where on begin play it fired an event on the server, wich resized the inventory to its proper size. Inventory array was replicated and all.
Client and server printed the same line: 19 wich was the total amount of slots.
However when I then made another event for picking up loot, the players inventory was always zero. Maybe this have something in common