Benjamin Pratt was sentenced at Wollongong District Court on July 22