From f171769319e222d1bb46940ab4c5cfa68f1cd3d8 Mon Sep 17 00:00:00 2001 From: Antonio Cheong Date: Mon, 19 Feb 2024 15:37:33 +0000 Subject: [PATCH] Fix AutoFarm in 1.20.4 --- src/main/java/anticope/rejects/modules/AutoFarm.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/anticope/rejects/modules/AutoFarm.java b/src/main/java/anticope/rejects/modules/AutoFarm.java index 5e86f58f..5859d451 100644 --- a/src/main/java/anticope/rejects/modules/AutoFarm.java +++ b/src/main/java/anticope/rejects/modules/AutoFarm.java @@ -280,7 +280,8 @@ private boolean bonemealFilter(Block block) { private boolean harvestFilter(Block block) { return block instanceof CropBlock || - block instanceof GourdBlock || + block instanceof PumpkinBlock || + block instanceof MelonBlock || block instanceof NetherWartBlock || block instanceof SweetBerryBushBlock; }