Skip to content

Commit

Permalink
Added MUSHROOM_STEM to farming special crops
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSzabo committed Nov 23, 2024
1 parent ea20b53 commit b97772e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class FarmingListener implements Listener {

private final Set<Material> blockCrops = Set.of(Material.SUGAR_CANE, Material.CACTUS, Material.BAMBOO);
private final Set<Material> specialCrops = Set.of(Material.WARPED_FUNGUS, Material.CRIMSON_FUNGUS, Material.BROWN_MUSHROOM,
Material.RED_MUSHROOM, Material.BROWN_MUSHROOM_BLOCK, Material.RED_MUSHROOM_BLOCK, Material.MELON, Material.PUMPKIN);
Material.RED_MUSHROOM, Material.BROWN_MUSHROOM_BLOCK, Material.RED_MUSHROOM_BLOCK, Material.MUSHROOM_STEM, Material.MELON, Material.PUMPKIN);

@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onPlayerHarvest(PlayerHarvestBlockEvent e) {
Expand Down

0 comments on commit b97772e

Please sign in to comment.