mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Fixed Green Thumb not checking rank 4 on wheat
This commit is contained in:
parent
fc3afc4340
commit
f496ecf7b1
@ -33,6 +33,7 @@ Version 1.4.00-dev
|
|||||||
+ Added '/hardcore' and '/vampirism' commands for toggling these modes on or off.
|
+ 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 Block Cracker to Unarmed's Berserk, turn smooth brick into cracked smooth brick
|
||||||
+ Added config option to disable automatic zip backups.
|
+ 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 Green Terra not also checking Green Thumb permissions
|
||||||
= Fixed bug where splash potions could raise a player's unarmed level
|
= Fixed bug where splash potions could raise a player's unarmed level
|
||||||
= Fixed bug where fired arrows could raise skill levels other than Archery
|
= Fixed bug where fired arrows could raise skill levels other than Archery
|
||||||
|
@ -40,18 +40,7 @@ public class GreenThumbTimer implements Runnable {
|
|||||||
case POTATO:
|
case POTATO:
|
||||||
//This replants the wheat at a certain stage in development based on Herbalism Skill
|
//This replants the wheat at a certain stage in development based on Herbalism Skill
|
||||||
if (!this.profile.getAbilityMode(AbilityType.GREEN_TERRA)) {
|
if (!this.profile.getAbilityMode(AbilityType.GREEN_TERRA)) {
|
||||||
if (greenThumbStage == 3) {
|
this.block.setData((byte) greenThumbStage);
|
||||||
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());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.block.setData(CropState.MEDIUM.getData());
|
this.block.setData(CropState.MEDIUM.getData());
|
||||||
|
Loading…
Reference in New Issue
Block a user