mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +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;
|
break;
|
||||||
|
|
||||||
|
case CARROT:
|
||||||
|
if (configInstance.getCarrotDoubleDropsEnabled()) {
|
||||||
|
Misc.dropItem(location, is);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case POTATO:
|
||||||
|
if (configInstance.getPotatoDoubleDropsEnabled()) {
|
||||||
|
Misc.dropItem(location, is);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (customPlant) {
|
if (customPlant) {
|
||||||
CustomBlock customBlock = ModChecks.getCustomBlock(block);
|
CustomBlock customBlock = ModChecks.getCustomBlock(block);
|
||||||
|
Loading…
Reference in New Issue
Block a user