Add Beetroot to herbalism skill

Merge pull request #2918 from isokissa3/master

His was better.

(cherry picked from commit 3ed0fdf330)
This commit is contained in:
t00thpick1
2016-06-26 17:14:19 -04:00
parent b1b8c4d713
commit 8901db4e18
7 changed files with 14 additions and 17 deletions

View File

@ -147,11 +147,9 @@ public final class BlockUtils {
case YELLOW_FLOWER:
return true;
case BEETROOT_BLOCK:
case CARROT:
case POTATO:
case BEETROOT_BLOCK:
return blockState.getRawData() == CropState.RIPE.getData();
case CROPS:
return ((Crops) blockState.getData()).getState() == CropState.RIPE;

View File

@ -592,6 +592,8 @@ public final class ItemUtils {
case CHORUS_FRUIT:
case CHORUS_FLOWER:
case POTATO_ITEM:
case BEETROOT:
case BEETROOT_SEEDS:
case NETHER_WARTS:
case BROWN_MUSHROOM:
case RED_MUSHROOM: