rename 'files' to 'io'
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "coders/json.hpp"
|
||||
#include "constants.hpp"
|
||||
#include "files/files.hpp"
|
||||
#include "io/io.hpp"
|
||||
#include "items/ItemDef.hpp"
|
||||
#include "voxels/Block.hpp"
|
||||
#include "world/World.hpp"
|
||||
@@ -75,7 +75,7 @@ std::shared_ptr<ContentReport> ContentReport::create(
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto root = files::read_json(filename);
|
||||
auto root = io::read_json(filename);
|
||||
uint regionsVersion = 2U; // old worlds compatibility (pre 0.23)
|
||||
root.at("region-version").get(regionsVersion);
|
||||
auto& blocklist = root["blocks"];
|
||||
|
||||
Reference in New Issue
Block a user