Added missed checks for potatoes and carrots.

This commit is contained in:
Glitchfinder 2012-10-28 20:56:33 -07:00
parent 11f1889f1f
commit 2a20ed95fa

View File

@ -325,6 +325,18 @@ public class Herbalism {
} }
break; break;
case CARROT:
if (configInstance.getCarrotDoubleDropsEnabled()) {
Misc.dropItem(location, is);
}
break;
case POTATO:
if (configInstance.getPotatoDoubleDropsEnabled()) {
Misc.dropItem(location, is);
}
break;
default: default:
if (customPlant) { if (customPlant) {
CustomBlock customBlock = ModChecks.getCustomBlock(block); CustomBlock customBlock = ModChecks.getCustomBlock(block);