mojira.dev
MC-45602

Being kicked out of a single player world shows the multiplayer menu

The bug

After being kicked from the game in singleplayer, when clicking "Back to title screen", the multiplayer menu is shown, but it's supposed to be either the title screen or the single player menu.

How to reproduce

Enable then disable the attached data pack Disconnect.zip in a single player world.
→ ❌ You will be back to the multiplayer screen.

Linked issues

MC-29180 Kicked from singleplayer world Resolved MC-175841 Spamming on single player takes you to multiplayer server list Resolved MC-230656 Getting into Multiplayer with Microsoft accounts that don't have the permissions to join Multiplayer (Mojang Account Migration) Resolved MC-264322 Typing too much chat in a single-player game (frequently) will result in kicking out of the game, but it will return to the server (multiplayer) list after kicking Resolved MC-264323 Typing too much chat in a single-player game (frequently) will result in kicking out of the game, but it will return to the server (multiplayer) list after kicking Resolved

Attachments

Comments 60

Please attach the complete output of the "Development console" which can be found on the second tab of the launcher.

If the launcher closes after game start, please edit your profile and select "Launcher visibility" then, "Keep the launcher open".

The console outputs nothing concerning the problem. It's only a bad GUI redirection.

[10:24:47 INFO]: Client> [10:24:47] [Server thread/INFO]: Fredb555 lost connection: TextComponent{text='Illegal position', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}

I'm being kicked from solo, the screen with the message "Connection Lost" pops up with reason "Illegal Position". When I press "Back to title screen", it brings me to the Multiplayer server selection menu.

To reproduce it quickly, go in a Singleplayer world (a new one preferably), and do the command /tp ~30000000 ~ ~ two times. You will be kicked and you will understand the problem when clicking the button.

It also happends in 14w05a, when you enter spectator mode, you exit "inside" an entity (watching its POV) and you hit the entity outside of spectator mode, it outputs "Attempting to atack an invalid entity" (As in MC-46411 )

Also affects 14w08a. I wanted to test this issue: MC-34074 but I discovered that one instead.

How to reproduce:

  • Create a superflat world (if you create a normal one and you go into the void, you will crash)

  • Use this command "/tp 29999999 ~ ~" to teleport yourself at the end of the map.

  • Go into the void (note that there is no invisible wall)

  • You are kicked off the game and you receive this message: Illegal Position

  • Click the button, you will return to the multiplayer menu

Still a concern in 14w10x

50 more comments

Running /kick @s in 1.21 Pre-Release 4 gives me this message:

[media]

Cannot reproduce in 1.21 release.

Seems to have been resolved a few snapshots ago. Kicking in LAN also does not work.

[media]

As the method in the description no longer works, the reproduction steps should be updated so that it can be reproduced for future versions. 🙂

Frédéric

[Mod] markderickson

(Unassigned)

Confirmed

Platform

Low

Commands, UI

Minecraft 1.7.4, Minecraft 14w04a, Minecraft 14w05a, Minecraft 14w05b, Minecraft 14w06b, ..., 24w03b, 1.20.6, 1.21 Pre-Release 4, 1.21.8, 25w31a

Retrieved