From 5521c8258df5256244f0736c093909da8606f904 Mon Sep 17 00:00:00 2001 From: tastybento Date: Tue, 27 Aug 2024 18:05:50 -0700 Subject: [PATCH] Add cactus to harvest-able blocks. --- .../listeners/flags/protection/BreakBlocksListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/bentobox/listeners/flags/protection/BreakBlocksListener.java b/src/main/java/world/bentobox/bentobox/listeners/flags/protection/BreakBlocksListener.java index a97dcb918..f80aa0d85 100644 --- a/src/main/java/world/bentobox/bentobox/listeners/flags/protection/BreakBlocksListener.java +++ b/src/main/java/world/bentobox/bentobox/listeners/flags/protection/BreakBlocksListener.java @@ -22,7 +22,6 @@ import org.bukkit.event.vehicle.VehicleDamageEvent; import com.google.common.base.Enums; -import world.bentobox.bentobox.BentoBox; import world.bentobox.bentobox.api.flags.FlagListener; import world.bentobox.bentobox.lists.Flags; @@ -51,6 +50,7 @@ public class BreakBlocksListener extends FlagListener { || m == Material.SWEET_BERRY_BUSH || m == Material.BAMBOO || m == Material.NETHER_WART + || m == Material.CACTUS ) { this.checkIsland(e, p, l, Flags.HARVEST); } else {