Merge pull request #281 from Glitchfinder/master

Fixed checked data values for carrots and potatoes.
This commit is contained in:
Grant 2012-10-30 07:01:35 -07:00
commit 67499eeff7

View File

@ -202,14 +202,14 @@ public class Herbalism {
break;
case CARROT:
if (((byte) data) == 0x3) {
if (data == CropState.RIPE.getData()) {
mat = Material.CARROT;
xp = Config.getInstance().getHerbalismXPCarrot();
}
break;
case POTATO:
if (((byte) data) == 0x3) {
if (data == CropState.RIPE.getData()) {
mat = Material.POTATO;
xp = Config.getInstance().getHerbalismXPPotato();
}