The bug
When you leave the "Direct Connect" field in the multiplayer menu empty your launcher will print the following warning on startup:
[Client thread/WARN]: Skipping bad option: lastServer:
The reason
The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.
The method net.minecraft.client.settings.GameSettings.loadOptions()
calls on the splitter the method com.google.common.base.Splitter.omitEmptyStrings()
this makes Strings like option:
splitted at :
become ["option"]
instead of ["option",""]
.
Because of this options with empty String values become a list with one item only. However, the code following after that tries to get two items.
This could be fixed by leaving the call to the method com.google.common.base.Splitter.omitEmptyStrings()
out.
Related issues
is duplicated by
Attachments
Comments

Can confirm.

Confirmed.

I still don't know where to go to fix the issue. I am not the most computer literate, please provide explicit instructions on correcting this issue.

This bug does not cause any negative effects except the error message, which means there is no need for you to do anything. If you don't want this error message to appear just always leave any text in the "Direct Connect" text field.

But it's anything, how do you want us to understand this kind of thing ???
I who follow not informatitian and speak little English, question yourself !!!

Can be fixed by editing options.txt. Find "lastServer:" and add a number after it.

Can not find the options.txt file to edit source code. The issue will not let me play the game. Can someone please leave instructions as to fix this besides a cliff notes version of the Java Lesson on the coding? Would really love to launch the game again...

Confirmed for 1.13.1.

Confirmed for 19w08b.

Might be affecting 19w39a but i haven't checked the direct connect value.