Adding ranks to Fisherman/Farmer's Diet and Green Thumb

This commit is contained in:
nossr50
2019-01-15 05:35:41 -08:00
parent 4137cc0d3d
commit 13a3e9a790
8 changed files with 25 additions and 36 deletions

View File

@ -237,7 +237,7 @@ public class FishingManager extends SkillManager {
* @return the modified change in hunger for the event
*/
public int handleFishermanDiet(int rankChange, int eventFoodLevel) {
return SkillUtils.handleFoodSkills(getPlayer(), skill, eventFoodLevel, Fishing.fishermansDietRankLevel1, Fishing.fishermansDietMaxLevel, rankChange);
return SkillUtils.handleFoodSkills(getPlayer(), eventFoodLevel, SubSkillType.FISHING_FISHERMANS_DIET);
}
public void iceFishing(FishHook hook, Block block) {