소스 검색

Added missed checks for potatoes and carrots.

Glitchfinder 12 년 전
부모
커밋
2a20ed95fa
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java

+ 12 - 0
src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java

@@ -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);