HypixelDev / PublicAPI

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

Dropper missing in endpoints. #555

Closed Picsou993 closed 2 years ago

Picsou993 commented 2 years ago

"DROPPER":"Dropper" is missing in the modeNames of the /resources/games endpoint.

In addition of that (and probably a consequence of that), mode and map are set to null in the recentGames endpoint: image

ConnorLinfoot commented 2 years ago

Modes are not currently guaranteed to be part of the endpoint.

As a fallback you can also take the mode key, replace the underscores with a space and capitalize each word, this is what we currently do for Game History and Replay's internally that also use this exact same data.

At this time, Prototype does not support "modes" in the traditional sense due to them being a "prototype mode". So for now these will remain null with modes and maps, but will be fixed soon for at least the mode.