mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Missed one of the calls.
This commit is contained in:
parent
395e243730
commit
f73d0dbc40
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user