Keith Coward, 33, of Potter Street, admitted stealing £10 of goods from Wilkinsons, in the Priory Centre, on February 11.
The court heard he had two convictions for shop thefts on January 13, and February 1, this year.
David Verity, mitigating, said prior to those offences there had been a long gap in his offending.
The thefts had been commited in order to obtain money to buy the drug ‘mamba’, he said, during a period when Coward was struggling to find accomodation and claim benefits.
On Wednesday, magistrates in Mansfield gave him a six month community order, with 15 days of a rehabilitation activity. He was ordered to pay £10 compensation.