mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
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:
@ -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;
|
||||
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user