Neither the State, any local government, probation department, public or community service program or site, nor any official, volunteer, or employee thereof acting in the course of their official duties shall be liable for any injury or loss a person might receive while performing public or community service as ordered either (1) by the court or (2) by any duly authorized station or probation adjustment, teen court, community mediation, or other administrative diversion program authorized by the Juvenile Court Act of 1987 for a violation of a penal statute of this State or a local government ordinance (whether penal, civil, or quasi-criminal) or for a traffic offense, nor shall they be liable for any tortious acts of any person performing public or community service, except for wilful, wanton misconduct or gross negligence on the part of such governmental unit, probation department, or public or community service program or site, or the official, volunteer, or employee.
730 ILCS 5/5-5-7