maxswa/osrs-json-hiscores

[Bug] Boss results not returning correctly for `seasonal` gamemode

Closed this issue · 2 comments

When calling hiscores.getStatsByGamemode() with seasonal as the gamemode, the results become offset at some point.

I believe it might be due to Tempoross not being added to the API result for the last leagues season, but I'm not entirely sure.

If you look at a main hiscores API result vs the seasonal hiscores, you'll see there is one additional entry when comparing them.

And if you call hiscores.getStatsByGamemode('mofoe', 'seasonal') for that player, you'll notice that what should be the result for zulrah is instead under zulcano.

Fix for your review #35

Fixed and published as osrs-json-hiscores@2.5.1

https://github.com/maxswa/osrs-json-hiscores/releases/tag/v2.5.1

Thanks again for your contribution!