mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Fixing double drops for herbalism so that carrots and potatoes drop items instead of blocks.
This commit is contained in:
parent
d532164cd6
commit
01fb245da3
@ -237,10 +237,10 @@ public class Herbalism {
|
|||||||
if (mat == Material.COCOA) {
|
if (mat == Material.COCOA) {
|
||||||
is = new ItemStack(Material.INK_SACK, 1, (short) 3);
|
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);
|
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);
|
is = new ItemStack(Material.POTATO_ITEM, 1, (short) 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user