Attempting to queue while in a match throws an exception. #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If a match participant runs
/sb, they receive an internal error message and a stacktrace is printed to console.The root cause is the
join_queuecommand handler neglects to check if the player is in a match.Luckily, nothing actually breaks. A lower level check is performed by the MatchManager which prevents the player from actually joining the queue.
The fix is to add another check to the command handler for whether the player is in a match, and if so, print a more useful error message.