Fixed Green Thumb not checking rank 4 on wheat

This commit is contained in:
bm01 2013-02-16 02:49:31 +01:00
parent fc3afc4340
commit f496ecf7b1
2 changed files with 2 additions and 12 deletions

View File

@ -33,6 +33,7 @@ Version 1.4.00-dev
+ Added '/hardcore' and '/vampirism' commands for toggling these modes on or off.
+ Added Block Cracker to Unarmed's Berserk, turn smooth brick into cracked smooth brick
+ Added config option to disable automatic zip backups.
= Fixed Green Thumb on wheat not working properly at rank 4
= Fixed Green Terra not also checking Green Thumb permissions
= Fixed bug where splash potions could raise a player's unarmed level
= Fixed bug where fired arrows could raise skill levels other than Archery

View File

@ -40,18 +40,7 @@ public class GreenThumbTimer implements Runnable {
case POTATO:
//This replants the wheat at a certain stage in development based on Herbalism Skill
if (!this.profile.getAbilityMode(AbilityType.GREEN_TERRA)) {
if (greenThumbStage == 3) {
this.block.setData(CropState.MEDIUM.getData());
}
else if (greenThumbStage == 2) {
this.block.setData(CropState.SMALL.getData());
}
else if (greenThumbStage == 1) {
this.block.setData(CropState.VERY_SMALL.getData());
}
else {
this.block.setData(CropState.GERMINATED.getData());
}
this.block.setData((byte) greenThumbStage);
}
else {
this.block.setData(CropState.MEDIUM.getData());