Rantoul felon gets 5 years for having gun