openInventory

fun Player.openInventory(inventory: KInventory)

Opens the given KInventory

Parameters

inventory

the kInventory

Throws

when the given inventory is private and opened by another player