The extra revenue comes at a time when lawmakers are facing a host of fiscal needs.