diff --git a/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java b/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java index 456ef88a7..10ed1cb95 100644 --- a/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java +++ b/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java @@ -422,12 +422,11 @@ public class Herbalism { hasSeeds = inventory.contains(Material.SEEDS); break; case COCOA: - // Broken: Requires an update to bukkit to enable seaching for variable-sized ItemStacks. try { - hasSeeds = inventory.contains(new ItemStack(Material.INK_SACK, 1, DyeColor.BROWN.getDyeData()), 1); + hasSeeds = inventory.containsAtLeast(new ItemStack(Material.INK_SACK, 1, DyeColor.BROWN.getDyeData()), 1); } catch(Exception e) { - hasSeeds = inventory.contains(new ItemStack(Material.INK_SACK, 1, (short) 3), 1); + hasSeeds = inventory.containsAtLeast(new ItemStack(Material.INK_SACK, 1, (short) 3), 1); } break; case CARROT: