get

fun get(inventory: Inventory): Any?

Retrieves the GUI instance associated with a given inventory.

Return

The GuiBuilder instance associated with the given inventory, or null if not found.

Parameters

inventory

The inventory whose associated GUI is being retrieved.