mojira.dev
MC-183872

Cannot create world if world name is empty even though a default name is generated

If the world name is empty, a default name is shown, like "World". But even if the world can be created using this name, the "Create New World" button is disabled.

You can still press enter to create the world, even though the button is disabled.

Linked issues

Attachments

Comments 8

Uh, do you really need or want to do that? I think it would be a good idea to prevent that as empty strings for world names may cause issues in unexpected places.

But it is not an empty string, it's "World". It generates a default name, why not use it to create world?

Can confirm in 20w49a. The "Create New World" button is disabled when the world name field is empty however, you are able to press enter to create the world. The world will be named "World" upon doing this.

Can confirm in 21w03a.

Can confirm for 1.18.1

Can confirm in 1.19.2.

Fixed in 1.19.4 Pre-release 2.

D

(Unassigned)

Confirmed

UI

1.15.2, 20w20a, 20w20b, 1.16.3, 1.16.4, 20w49a, 21w03a, 1.18.1, 1.19.2

1.19.4 Pre-release 2

Retrieved