Skip to content

Commit

Permalink
Merge branch 'main' into suspend-players
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Jan 17, 2025
2 parents 3266204 + 47e8e4e commit 645f874
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/content/ContentReport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ std::shared_ptr<ContentReport> ContentReport::create(
}

auto root = files::read_json(filename);
// TODO: remove default value 2 in 0.24
uint regionsVersion = 2U;
uint regionsVersion = 2U; // old worlds compatibility (pre 0.23)
root.at("region-version").get(regionsVersion);
auto& blocklist = root["blocks"];
auto& itemlist = root["items"];
Expand Down

0 comments on commit 645f874

Please sign in to comment.