فهرست منبع

Fixing double drops for herbalism so that carrots and potatoes drop items instead of blocks.

Glitchfinder 12 سال پیش
والد
کامیت
01fb245da3
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java

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

@@ -237,10 +237,10 @@ public class Herbalism {
                 if (mat == Material.COCOA) {
                     is = new ItemStack(Material.INK_SACK, 1, (short) 3);
                 }
-                else if (mat == Material.COCOA) {
+                else if (mat == Material.CARROT) {
                     is = new ItemStack(Material.CARROT_ITEM, 1, (short) 0);
                 }
-                else if (mat == Material.COCOA) {
+                else if (mat == Material.POTATO) {
                     is = new ItemStack(Material.POTATO_ITEM, 1, (short) 0);
                 }