refresh Virtual Inventory
Refreshes all providers associated with a virtual inventory. This method is used to update the items displayed in the GUI for a virtual inventory, typically after scrolling or when the contents of the virtual inventory have changed. It calls the refresh() method on each provider associated with the specified virtual inventory, which will update the items in the GUI accordingly.
Parameters
inventory Id
The ID of the virtual inventory to refresh. This should correspond to the ID specified when the virtual inventory was bound in the Builder.