The bug
When joining a server using the --server argument, the secure chat warning toast (and the chat preview warning screen in versions before its removal in 22w42a) are skipped. One would expect these screens always to be presented regardless of a player's method of joining, as they provide important information regarding what a player may experience on a server.
How to reproduce
Start a server with
previews-chatset totrueandenforce-secure-profileset tofalseOpen your
minecraft/versionsfolder, and duplicate the1.19.1-rc2folderRename the new folder to
1.19.1-rc2_bugRemove the
.jarfile inside, and rename the.jsonfile to1.19.1-rc2_bugIn the
.jsonfile, replace "1.19.1-rc2" with "1.19.1-rc2_bug"Add the following within the game arguments array (very beginning of file):
"--server", "localhost",Save and close the file
Open the Minecraft Launcher
Create an installation for
1.19.1-rc2_bug, and launch the version
❌ The player joins the server without being presented with either dialog
Linked issues
relates to 1
Comments 0
No comments.