I have method that is called on only the server side that result
player.inventory.addItemStackToInventory(item)
be called if all conditions are meet, but because it is only called on the server side the client does not update util you click in the slot it put in. If there away to invoke this update, right after
player.inventory.addItemStackToInventory(item)
is called.