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

Run /kick @s in a creative single player world.
→ ❌ You will be back to the multiplayer screen.

Linked issues

MC-25971 Being disconnected/kicked from singleplayer returns you to server list instead of world list Resolved MC-29180 Kicked from singleplayer world Resolved MC-46047 Kicks In Singleplayer Redirects To Multiplayer Screen Resolved MC-48018 trasspassing through the illegal point returns you to multiplayer screen even if you are not in multiplayer Resolved MC-58265 Incorrect button linkage upon single player server-side crash/overload Resolved

Attachments

Comments 59

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

49 more comments

Update: I canno't longer reproduce in 23w43a. Showing the "Cannot kick server owner in LAN game".

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, ..., 1.20.2, 23w42a, 24w03b, 1.20.6, 1.21 Pre-Release 4

Retrieved