A recreational marijuana bill took a major step toward becoming law, but the governor threatened to veto it over an eleventh-hour amendment.