mojira.dev
MC-307255

World migration generate a fallback null player when level has a Player tag with not data

If i use a world from 1.21.11 using a level.dat with Player tag but with not data in the migration to 26.1.1 a new file in players/data its created with a null UUID (00000000-0000-0000-0000-000000000000)

Steps to reproduce the issue

Create a world in 1.21.11 where a Player tag exists but contains no data

Expected result

The Player tag its ignored in the migration and continue the migration

Actual result

The Player tag its readed, pass the migration and create a fallback data, also create a new singleplayer data with invalid data.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

Doc

(Unassigned)

Unconfirmed

(Unassigned)

26.1.1

Retrieved