refreshIndex

fun refreshIndex(index: Int)

Refreshes a specific index in the GUI by calling the getItem() method on the provider at that index in the structure and updating the corresponding slot in the inventory.