removeInventory

fun removeInventory(type: ItemType, fromModel: Boolean = false): Inventory(source)

Remove the inventory for type. The associated Inventory model element may optionally be removed from the model.