Skip to content

Conversation

@donMerloni
Copy link

when using the osu! subdivide nations extension, osuplus can't get the user ID for players with the extra flag because it happens to sit in an anchor <a> element at index 1.

so at the end the playerInfo array is shorter than expected and we crash at the first null element member access:
image
(I trimmed off some rows at the top)

using .ranking-page-table__user-link-text seems better (and probably more robust in general)

The "osu! subdivide nations" extension adds its region flags as an anchor <a> element, which is something the old css selector does not account for.
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 this pull request may close these issues.

1 participant