open Inventory
Opens an inventory window with the specified inventory on the top and the player's inventory on the bottom.
Return
The newly opened inventory view
Parameters
inventory
The inventory to open
Opens an inventory window to the specified inventory view.
Parameters
inventory
The view to open