1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-04-02 09:46:24 +02:00

Dividing by 4 was wrong.

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

@ -274,7 +274,7 @@ public class Herbalism {
* @return true if the ability was successful, false otherwise
*/
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()) {
case CROPS: