Skip to content

Commit 3473002

Browse files
Make cactus flowers harvestable (#1356)
1 parent 76a9cf0 commit 3473002

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/sk89q/craftbook/mechanics/ic/gates/world/blocks/CombineHarvester.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ public boolean harvestable(Block block) {
8686
case COCOA:
8787
Ageable ageable = (Ageable) block.getBlockData();
8888
return ageable.getAge() == ageable.getMaximumAge();
89+
case CACTUS_FLOWER:
90+
return below == Material.CACTUS;
8991
case CACTUS:
9092
return below == Material.CACTUS && above != Material.CACTUS;
9193
case SUGAR_CANE:

0 commit comments

Comments
 (0)