getItems

Returns the items set in a given InventoryGUI instance. This method can be called statically from outside the class.

Return

The list of Buttons.

Parameters

gui

The InventoryGUI instance to get the items from.