getBackgroundMaterial

Returns the background material for a given InventoryGUI instance. This method can be called statically from outside the class.

Return

The Material representing the background.

Parameters

gui

The InventoryGUI instance to get the background from.