GH-3229 fix copy seed button not working for newer worlds
Added the `optional-bare` library and refactored NBT reading code to support this change.
This commit is contained in:
@ -175,7 +175,7 @@ QVariant WorldList::data(const QModelIndex &index, int role) const
|
||||
return world.name();
|
||||
|
||||
case GameModeColumn:
|
||||
return gameTypeToString(world.gameType());
|
||||
return world.gameType().toTranslatedString();
|
||||
|
||||
case LastPlayedColumn:
|
||||
return world.lastPlayed();
|
||||
|
Reference in New Issue
Block a user