Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong TNT Wizards air time stat #707

Closed
ImPlotzes opened this issue Oct 17, 2024 · 0 comments · Fixed by #733
Closed

Wrong TNT Wizards air time stat #707

ImPlotzes opened this issue Oct 17, 2024 · 0 comments · Fixed by #733

Comments

@ImPlotzes
Copy link

Which package is this bug report for?

discord-bot

Issue description

The "Air Time" statistic for TNT Wizards in the Discord bot is calculated incorrectly. The value from the Hypixel API is in Minecraft ticks, not milliseconds.

So for example, my username is Plotzes and the Hypixel API returns my air time like this: air_time_capture: 29279814. The bot calculates that as being 8h 7m but it's actually 406h 39m (yes, I play a lot of Wizards).

I have re-confirmed this before posting this issue by staying in the air for a whole game. The game lasted just over 7 minutes and the air time value went up over 8,400. If that was milliseconds then I would have only flown for 8 seconds.

Operating system

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant