Skip to content

Allow closing windows after the viewer quit - #127

Merged
NichtStudioCode merged 1 commit into
NichtStudioCode:mainfrom
MagnoliaLLC:fix/close-after-quit
Nov 21, 2026
Merged

NichtStudioCode merged 1 commit into
NichtStudioCode:mainfrom
MagnoliaLLC:fix/close-after-quit

Conversation

@R00tB33rMan

Copy link
Copy Markdown
Contributor

Paper closes a player's inventory again after PlayerQuitEvent, when their packet handler is already gone, so closing the window threw.

Paper closes the inventory of a player that quit a second time when the player entity is removed, which happens after PlayerQuitEvent. By then, the packet handler was already removed, so closing the window threw "No packet handler is registered for this player".
@NichtStudioCode
NichtStudioCode merged commit c16d2fb into NichtStudioCode:main Nov 21, 2026
@NichtStudioCode

Copy link
Copy Markdown
Owner

thanks

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