Skip to content

fix(login): PacketEvents User channel for deferred LOGIN_START - #3

Merged
Namnarak merged 1 commit into
mainfrom
fix/prelogin-deferred-user-channel-20261013
Oct 12, 2026
Merged

Namnarak merged 1 commit into
mainfrom
fix/prelogin-deferred-user-channel-20261013

Conversation

@Namnarak

Copy link
Copy Markdown
Contributor

Fix ClassCastException: GeneratedTemporaryPlayer$1 -> CraftPlayer while replaying deferred LOGIN.CLIENT.LOGIN_START: when ProtocolLib's temporary facade is present, transport with its associated PacketEvents User and Channel rather than PacketEvents PlayerManager Bukkit Player cast. Applies to serverbound/clientbound and filtered/silent paths. Missing User/channel fails explicitly (never silently bypass authentication). Normal CraftPlayer transport remains unchanged. Adds offline regression tests; 22 tests, 0 failures, 1 existing skip. Bumps shim to 1.0.7. Deploy only with backup and controlled Minecraft restart; live login paths need integration testing.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T17:36:19.329728Z 5712a7c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Namnarak
Namnarak merged commit 93b4713 into main Oct 12, 2026
1 check passed
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.

1 participant