Fixing double drops for herbalism so that carrots and potatoes drop items instead of blocks.

This commit is contained in:
Glitchfinder 2012-11-04 15:54:22 -08:00
parent d532164cd6
commit 01fb245da3

View File

@ -237,10 +237,10 @@ public class Herbalism {
if (mat == Material.COCOA) {
is = new ItemStack(Material.INK_SACK, 1, (short) 3);
}
else if (mat == Material.COCOA) {
else if (mat == Material.CARROT) {
is = new ItemStack(Material.CARROT_ITEM, 1, (short) 0);
}
else if (mat == Material.COCOA) {
else if (mat == Material.POTATO) {
is = new ItemStack(Material.POTATO_ITEM, 1, (short) 0);
}