From f73d0dbc402de96ffb41065d4f963e95e28760fa Mon Sep 17 00:00:00 2001 From: Glitchfinder Date: Sun, 13 Jan 2013 18:24:43 -0800 Subject: [PATCH] Missed one of the calls. --- src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 206e5b82c..ab8d37b1c 100644 --- a/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java +++ b/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java @@ -426,7 +426,7 @@ public class Herbalism { break; case COCOA: try { - hasSeeds = inventory.containsAtLeast(new ItemStack(Material.INK_SACK, 1, DyeColor.BROWN.getData()), 1); + hasSeeds = inventory.containsAtLeast(new ItemStack(Material.INK_SACK, 1, DyeColor.BROWN.getDyeData()), 1); } catch(Exception e) { hasSeeds = inventory.containsAtLeast(new ItemStack(Material.INK_SACK, 1, (short) 3), 1);