mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
dynamic::Value simplified
This commit is contained in:
parent
8e83a07094
commit
a4c21984d5
26 changed files with 230 additions and 297 deletions
|
|
@ -198,7 +198,7 @@ std::unique_ptr<dynamic::Map> Player::serialize() const {
|
|||
root->put("flight", flight);
|
||||
root->put("noclip", noclip);
|
||||
root->put("chosen-slot", chosenSlot);
|
||||
root->put("inventory", inventory->serialize().release());
|
||||
root->put("inventory", inventory->serialize());
|
||||
return root;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue