mojira.dev
MC-228828

Specifying the --server parameter when starting the game, causes the game to crash

Add the --server parameter when starting the game, the game will crash.

 
In fact, this problem has existed since the 21w10a update.

How to reproduce this problem

Enter the startup parameter --server=127.0.0.1 in the launcher and start game.

 

Note:

My friend tried to fix it in the following way:

[media]

 And it work well.

 (Mojang mappings)

Linked issues

Attachments

Comments 3

Enter the startup parameter --server=127.0.0.1 in the launcher and start game.

I'm assuming you're not using the vanilla launcher?

The way I reproduced it:

  1. Copy

[media]
  1. into .minecraft/versions/1.17-localhost

  2. Create a new installation with version 1.17-localhost

  3. Start that installation
    → ❌ Crash

Can confirm that this used to work in 1.16.5. However the exception in the log is thrown in 1.16.5 as well, it's unrelated to the crash.

Hendrix Shen

Erik Broes

Confirmed

Very Important

Crash

crash

1.17

1.17.1 Pre-release 1

Retrieved