Section 2. And be it further enacted by the authority aforesaid, That the penalties imposed upon masters of ships or vessels by the twenty-ninth section of the act to which this is a supplement may be recovered in the manner in which debts due for inward pilotage are made recoverable by the first section of this act.