mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-30 20:48:19 +01:00
Fixing spacing issues and making herbalism drop cocoa beans instead of a cocoa block.
This commit is contained in:
parent
70a16fe344
commit
31513d52d7
@ -217,9 +217,14 @@ public class Herbalism {
|
||||
if (customPlant) {
|
||||
is = new ItemStack(ModChecks.getCustomBlock(block).getItemDrop());
|
||||
}
|
||||
else {
|
||||
if (mat == Material.COCOA) {
|
||||
is = new ItemStack(Material.INK_SACK, 1, (short) 3);
|
||||
}
|
||||
else {
|
||||
is = new ItemStack(mat);
|
||||
}
|
||||
}
|
||||
|
||||
if (herbLevel > MAX_BONUS_LEVEL || random.nextInt(randomChance) <= herbLevel) {
|
||||
Config configInstance = Config.getInstance();
|
||||
|
Loading…
Reference in New Issue
Block a user