Dividing by 4 was wrong.

This commit is contained in:
GJ 2013-02-24 16:31:01 -05:00
parent 1fe471b005
commit e716e38386

View File

@ -274,7 +274,7 @@ public class Herbalism {
* @return true if the ability was successful, false otherwise * @return true if the ability was successful, false otherwise
*/ */
private static boolean convertGreenThumbPlants(BlockState blockState, int skillLevel) { private static boolean convertGreenThumbPlants(BlockState blockState, int skillLevel) {
int greenThumbStage = Math.min(skillLevel, greenThumbStageMaxLevel) / 4; int greenThumbStage = Math.min(skillLevel, greenThumbStageMaxLevel) / greenThumbStageChangeLevel;
switch(blockState.getType()) { switch(blockState.getType()) {
case CROPS: case CROPS: