Magistrate praises man for receiving treatment for ice addiction