Skip to content

Fix chat during shutdown#461

Open
Dueris wants to merge 1 commit into
PaperMC:ver/26.1.xfrom
Dueris:fix/chat-during-shutdown
Open

Fix chat during shutdown#461
Dueris wants to merge 1 commit into
PaperMC:ver/26.1.xfrom
Dueris:fix/chat-during-shutdown

Conversation

@Dueris

@Dueris Dueris commented Jun 1, 2026

Copy link
Copy Markdown

Folia doesn't modify the isStopped check at the HEAD of the handleChat method in ServerGamePacketListenerImpl, making it so that in Folia, you can still send chat msgs and such during shutdown, unlike upstream Paper. This fixes that by providing an isShutdown method to the RegionShutdownThread that allows us to check if we are currently in the process of shutting down and replacing the isStopped check in handleChat, restoring this behavior to match Paper

@R00tB33rMan R00tB33rMan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved

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