If you kept track of the number of items and available slots (by making sure only the server handles any of that stuff) you should be able to decide if you can add an item to the inventory even on the client, right? If I understand your use-case and code right then as long as you reliably know that you can just call the RPC to add it and let the server update the inventory.