Description
Since 26.3 Snapshot 5 it’s no longer possible to change the Server Pack Status, when editing a server in the multiplayer server list. When editing a server entry the server pack status resets to the previous value after clicking Done.
Steps To Reproduce
Add a server (name and address is not relevant)
Click “Edit” on the newly added server
Change “Server Resource Packs” to something else and click “Done”
In the server list click on “Edit” again and observe the “Server Resource Packs” is set back to the initial value
Code Analysis
In 26.3 Snapshot 5 in the JoinMultiplayerScreen#editServerCallback
current.copyFrom(this.editingServer);has been replaced with
current.setState(ServerData.State.INITIAL);The IP and name are correctly updated to the current server, but as copyFrom is no longer called the packStatusis not updated.
Environment
Kubuntu 26.04
Thank you for helping us improve Minecraft! We saved your files: