mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Dividing by 4 was wrong.
This commit is contained in:
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:
|
||||
|
Loading…
Reference in New Issue
Block a user