Skip to content

Conversation

Yoshy2002
Copy link
Contributor

Changes

Fixed a bug where crop milestones would be calculated starting from 0, instead of 1. This resulted in them being lower than they actually are. Therefore, you could NEVER reach a crop milestone of 46 regarding to the code, which is clearly wrong.
Below are the logged milestones + the milestone average calculated from them.
Logs are from a maxxed garden Player:
Before:
image

After:
image

Also tested this on myself, who doesn't have fully maxed crop milestones:
My actual milestones are 28, 28, 46...
Before:
image

After:
image

  • I've added new features. (methods or parameters)
  • I've fixed bug. (optional you can mention a issue if there is one)
  • I've corrected the spelling in README, documentation, etc.
  • I've tested my code. (pnpm test)
  • I've check for issues. (pnpm lint)
  • I've fixed my formatting. (pnpm prettier)

@pull-request-size pull-request-size bot added size/L and removed size/M labels Oct 1, 2025
@Yoshy2002
Copy link
Contributor Author

Yoshy2002 commented Oct 1, 2025

looks like someone missed prettier in the past, added a second commit.
EDIT: something is shitting itself now it seems.

@Kathund Kathund changed the title Fix Cropmilestone calculation going from 0-45 instead of 1-46 fix: SkyBlockGardenCropMilstone calculation going from 0-45 instead of 1-46 Oct 5, 2025
@Kathund Kathund merged commit 6842f4e into Hypixel-API-Reborn:master Oct 5, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants