Added SetInventoryMax.