I made a recipe that leaves an item in the crafting grid by chance, with random the client and the server would desync so I only perform the chance calculation on the server in the getRemainingItems, but this way the item doesn't show up in the grid until clicking it the slot.
How can I update the crafting grid from the server?