HypixelDev / PublicAPI

Official Java implementation of the Hypixel Public API.
https://api.hypixel.net
MIT License
533 stars 152 forks source link

Game Masters have undefined rank using the API #475

Closed skyeredwood closed 3 years ago

skyeredwood commented 3 years ago

The /player endpoint of the API returns a rank field which sends a string of the player's rank with most ranks, however Game Masters (recently added) now return undefined instead. Evidence:

image

mdashlw commented 3 years ago

works for me, perhaps you are not extracting it correctly, or treating unknown values as undefined

https://api.hypixel.net/player?name=centranos&key= (or https://api.slothpixel.me/api/players/centranos) image

skyeredwood commented 3 years ago

Turns out it was an issue with my API wrapper 🤦‍♂️