mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Added missed checks for potatoes and carrots.
This commit is contained in:
parent
11f1889f1f
commit
2a20ed95fa
@ -325,6 +325,18 @@ public class Herbalism {
|
||||
}
|
||||
break;
|
||||
|
||||
case CARROT:
|
||||
if (configInstance.getCarrotDoubleDropsEnabled()) {
|
||||
Misc.dropItem(location, is);
|
||||
}
|
||||
break;
|
||||
|
||||
case POTATO:
|
||||
if (configInstance.getPotatoDoubleDropsEnabled()) {
|
||||
Misc.dropItem(location, is);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
if (customPlant) {
|
||||
CustomBlock customBlock = ModChecks.getCustomBlock(block);
|
||||
|
Loading…
Reference in New Issue
Block a user