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.
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