Inventory client-server interactions issues

Hello, i’m making my inventory system for my game. I already did dragging and main system, but got one issue. Because my dragging right now doing on client side inventory, which replicated from server side. When I adding item to server side it replicates to client inventory with an event. But, how to notify server about item changing it’s slot, and change it on inventory side too. Without making trash code and easy to exploit things.


On showcase you can see when I dragging item to other slot, server still thinks item on this slot (because its checks server side inventory).