Fixes issue https://github.com/pdinklag/MinecraftStats/issues/161 where stats for these items could end up in the negative if you used more of these items than you harvested yourself, as commonly seen on Survival servers. This is a similar fix to https://github.com/pdinklag/MinecraftStats/issues/153, and the correct behaviour has always existed in harvest_bamboo.py, so this change simply replicates it for harvesting Nether Warts and Sugar Cane.
Fixes issue https://github.com/pdinklag/MinecraftStats/issues/161 where stats for these items could end up in the negative if you used more of these items than you harvested yourself, as commonly seen on Survival servers. This is a similar fix to https://github.com/pdinklag/MinecraftStats/issues/153, and the correct behaviour has always existed in
harvest_bamboo.py
, so this change simply replicates it for harvesting Nether Warts and Sugar Cane.Also removes an erroneous comment in
collect_shroom.py
left over from changes in issue https://github.com/pdinklag/MinecraftStats/issues/153 / commit https://github.com/pdinklag/MinecraftStats/commit/5025520d496c91093dad3e53f98bf291d4044343