Yes, depending on what was stated in the contract of carriage.
Unless the contract stipulates the York-Antwerp Rules, adjustment may have to be made under the rules applicable in the country where the voyage is terminated, which may be somewhat different. Under a Chinese carrier’s Bill of Lading terms, for example, “General Average shall be adjusted in Beijing in accordance with China Council for the promotion of International Trade Provisional Rules and General Average Adjustment, 1975 ” (i. e. the “Beijing Rules”).