mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
migrate from dynamic::Value to dv::value & total erase namespace 'dynamic'
This commit is contained in:
parent
d3ba4b2e3e
commit
34d2e6d400
69 changed files with 1247 additions and 2248 deletions
|
|
@ -6,7 +6,6 @@
|
|||
#include <utility>
|
||||
|
||||
#include "content/ContentLUT.hpp"
|
||||
#include "data/dynamic.hpp"
|
||||
#include "debug/Logger.hpp"
|
||||
#include "files/files.hpp"
|
||||
#include "objects/Player.hpp"
|
||||
|
|
@ -108,8 +107,8 @@ void WorldConverter::convertRegion(const fs::path& file) const {
|
|||
void WorldConverter::convertPlayer(const fs::path& file) const {
|
||||
logger.info() << "converting player " << file.u8string();
|
||||
auto map = files::read_json(file);
|
||||
Player::convert(map.get(), lut.get());
|
||||
files::write_json(file, map.get());
|
||||
Player::convert(map, lut.get());
|
||||
files::write_json(file, map);
|
||||
}
|
||||
|
||||
void WorldConverter::convert(const convert_task& task) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue