0253d9bc47
A proxy switching servers (Velocity, BungeeCord) sends the client back to configuration. The network thread acknowledged it, but the game thread kept ticking the old level and its client_tick_end went out right after the acknowledgement, where the server reads it as configuration packet 13. Velocity drops the client: "A packet did not decode successfully", shown as "An internal error occurred in your connection". Vanilla's handleConfigurationStart clears the level before it acknowledges, so nothing of play follows. Session::send now drops play packets while the connection is in configuration, checked under the writer lock that the acknowledgement is sent with. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>