Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for loop index out of bounds error #966

Merged
merged 1 commit into from
Jun 19, 2021

Commits on Jun 18, 2021

  1. Fix for loop index out of bounds error

    Fixes an index out of bounds error when refreshMenus() and subsequently findAdminsWithMenu() is called when there is 32 players in the server. Indexing the playersList array in the for loop condition causes it to try to index with a value of 32 on the very last condition check which is not valid for this array.
    fysiks1 committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    e9f180f View commit details
    Browse the repository at this point in the history