Missed one of the calls.

This commit is contained in:
Glitchfinder 2013-01-13 18:24:43 -08:00
parent 395e243730
commit f73d0dbc40

View File

@ -426,7 +426,7 @@ public class Herbalism {
break; break;
case COCOA: case COCOA:
try { 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) { catch(Exception e) {
hasSeeds = inventory.containsAtLeast(new ItemStack(Material.INK_SACK, 1, (short) 3), 1); hasSeeds = inventory.containsAtLeast(new ItemStack(Material.INK_SACK, 1, (short) 3), 1);