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: Prevent the player from returning to class selection after death #73

Merged
merged 4 commits into from
Sep 11, 2024

Conversation

MrDave1999
Copy link
Owner

@MrDave1999 MrDave1999 commented Sep 11, 2024

Do not allow the player to return to class selection after death. This prevents a bug where the team counter can be affected. For example, if Player A is from Team Alpha and returns to class selection to choose Team Alpha again, it would result in duplicate team members, which is incorrect.
If a player wants to change teams, they should use the provided command instead (e.g. /switch).

@MrDave1999 MrDave1999 added the bug-fix A pull request that fixes a bug label Sep 11, 2024
@MrDave1999 MrDave1999 marked this pull request as ready for review September 11, 2024 01:22
@MrDave1999 MrDave1999 merged commit c3acb80 into dev Sep 11, 2024
1 check passed
@MrDave1999 MrDave1999 deleted the patch-3 branch September 11, 2024 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix A pull request that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant