Enable Beetroot I think

This commit is contained in:
t00thpick1 2016-06-19 17:33:43 -04:00
parent 11aa126b80
commit 70de0ba00b
5 changed files with 9 additions and 1 deletions

View File

@ -135,7 +135,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.9-R0.1-SNAPSHOT</version>
<version>1.10-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -321,6 +321,10 @@ public class HerbalismManager extends SkillManager {
case POTATO:
seed = Material.POTATO_ITEM;
break;
case BEETROOT_BLOCK:
seed = Material.BEETROOT_SEEDS;
break;
default:
return;
@ -374,6 +378,7 @@ public class HerbalismManager extends SkillManager {
return true;
case BEETROOT_BLOCK:
case CARROT:
case POTATO:
if (greenTerra) {

View File

@ -149,6 +149,7 @@ public final class BlockUtils {
case CARROT:
case POTATO:
case BEETROOT_BLOCK:
return blockState.getRawData() == CropState.RIPE.getData();
case CROPS:

View File

@ -409,6 +409,7 @@ Skills:
Double_Drops:
Herbalism:
Brown_Mushroom: true
Beetroot_Block: true
Cactus: true
Carrot: true
Cocoa: true

View File

@ -151,6 +151,7 @@ Experience:
Herbalism:
Allium: 300
Azure_Bluet: 150
Beetroot_Block: 50
Blue_Orchid: 150
Brown_Mushroom: 150
Cactus: 30