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

Backend: Fix code in PlayerChatManager #2756

Merged
merged 5 commits into from
Oct 26, 2024

Conversation

CalMWolfs
Copy link
Collaborator

The current code checks if SystemMessageEvent or AbstractChatEvent is cancelled and then tries to cancel LorenzChatEvent if they are cancelled.
But none of these 3 events are cancellable and would throw an error when they are attempted to be cancelled. As far as i could see, SystemMessageEvent and AbstractChatEvent are never actually attempted to be cancelled and only are blocked (like they should be)

exclude_from_changelog

@CalMWolfs CalMWolfs added the Soon This Pull Request will be merged within the next couple of betas label Oct 18, 2024
@CalMWolfs CalMWolfs added this to the Version 0.28 milestone Oct 18, 2024
@github-actions github-actions bot added the Backend A backend pull request that will be merged soon label Oct 18, 2024
@hannibal002 hannibal002 added test and removed test labels Oct 18, 2024
Copy link
Owner

@hannibal002 hannibal002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@hannibal002 hannibal002 merged commit 9d21e7b into hannibal002:beta Oct 26, 2024
6 checks passed
@github-actions github-actions bot removed Soon This Pull Request will be merged within the next couple of betas Backend A backend pull request that will be merged soon labels Oct 26, 2024
@CalMWolfs CalMWolfs deleted the fix-player-chat-manager branch October 26, 2024 05:08
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.

2 participants