open

open fun open(player: SpigotPlayer, previousInventory: VitalInventory? = null)

Opens this inventory for the given player and updates it via update. If a previousInventory was given, clicking outside of this inventory view will open the previous inventory.