Skip to content

Commit 20eb298

Browse files
authored
fix: detect cocoa as a crop (#2278)
1 parent b4914ef commit 20eb298

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/util

worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ public static boolean isCrop(Material type) {
13621362
// yea, that's not all, there are some more
13631363
return switch (type) {
13641364
case PUMPKIN, MELON, CACTUS, SUGAR_CANE, BAMBOO, BAMBOO_SAPLING,
1365-
SWEET_BERRY_BUSH, NETHER_WART, CAVE_VINES, CAVE_VINES_PLANT ->
1365+
SWEET_BERRY_BUSH, NETHER_WART, CAVE_VINES, CAVE_VINES_PLANT, COCOA ->
13661366
true;
13671367
default -> false;
13681368
};

0 commit comments

Comments
 (0)