This commit is contained in:
parent
645f64ad33
commit
f30bebf09a
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ namespace Crafter {
|
|||
|
||||
std::cout << "bruh3" << std::endl;
|
||||
std::ifstream f(this->path);
|
||||
std::cout << this->path << std::endl;
|
||||
nlohmann::json data = nlohmann::json::parse(f);
|
||||
std::cout << "bruh4" << std::endl;
|
||||
name = data["name"].get<std::string>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue