Fix typo in "init_heavy_item"

Corrected "item_type" to "type" in the "init_heavy_item" function.