mojira.dev
MC-266920

Server Resource Packs Setting disabled no longer overridden by require-resource-pack

Description

Before 1.20.3-pre1 the Multiplayer List Server Resource Pack Setting acted essentially the same for `Prompt` and `Disabled` for servers with `require-resource-pack` set to `true`. In both cases a prompt were shown before connecting to the server. However since 1.20.3 this is no longer the case, the prompt will be shown even if the setting is set to `Disabled`, but regardless which button is pressed, it will disconnect you with the message `Server requires a custom resource pack`

Observed Behaviour

The server resource pack prompt shows up, but after pressing `Proceed` the resource pack won't be downloaded and the client gets disconnected.

Expected Behavior

Regardless which setting is selected, if the server requires a resource pack, it should be enabled after pressing `Proceed`.

Steps to Reproduce

  1. Create a server which requires a custom resource pack

    1. server.properties: `require-resource-pack=true`

    2. server.properties: `resource-pack=linktosomeresourcepack.zip` (replace linktosomeresourcepack.zip with a link to any working resource pack)

    3. Start the server

  2. Add this newly created server to your multiplayer servers list with resource packs setting to disabled

    1. Multiplayer » Add Server

    2. Server Resource Packs: Disabled

  3. Try to connect to the newly added server

Notes

As the setting changes after clicking on `Proceed` to `Enabled` it works after connecting a second time to the same server list entry.

Attachments

Comments 0

No comments.

MrKinau

boq

Plausible

Platform

Very Important

Dedicated Server, Resource Packs

1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2

1.20.3 Pre-Release 3

Retrieved