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> <dependency>
<groupId>org.bukkit</groupId> <groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId> <artifactId>bukkit</artifactId>
<version>1.9-R0.1-SNAPSHOT</version> <version>1.10-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

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

View File

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

View File

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

View File

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