From f496ecf7b1821aa1166d1312002055781f2ed737 Mon Sep 17 00:00:00 2001 From: bm01 Date: Sat, 16 Feb 2013 02:49:31 +0100 Subject: [PATCH] Fixed Green Thumb not checking rank 4 on wheat --- Changelog.txt | 1 + .../nossr50/skills/herbalism/GreenThumbTimer.java | 13 +------------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index d36ca754c..706497f3c 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -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 diff --git a/src/main/java/com/gmail/nossr50/skills/herbalism/GreenThumbTimer.java b/src/main/java/com/gmail/nossr50/skills/herbalism/GreenThumbTimer.java index 6b684b704..d09ab564b 100644 --- a/src/main/java/com/gmail/nossr50/skills/herbalism/GreenThumbTimer.java +++ b/src/main/java/com/gmail/nossr50/skills/herbalism/GreenThumbTimer.java @@ -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());