get Inventory
Returns the inventory associated with this GUI.
Return
The Inventory object.
Throws
If the inventory is not created yet.
Returns the inventory associated with this GUI.
The Inventory object.
If the inventory is not created yet.