1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-18 17:53:00 +01:00

Add Beetroot to herbalism skill

This commit is contained in:
minoneer
2016-05-27 16:32:24 +02:00
parent 11aa126b80
commit 3ed0fdf330
8 changed files with 18 additions and 14 deletions

View File

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