mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
'dynamic' namespace refactor (step 1/2)
This commit is contained in:
parent
80e7bcb203
commit
d33edd4cd9
16 changed files with 248 additions and 392 deletions
|
|
@ -227,7 +227,7 @@ void Player::deserialize(dynamic::Map *src) {
|
|||
|
||||
src->flag("flight", flight);
|
||||
src->flag("noclip", noclip);
|
||||
setChosenSlot(src->getInt("chosen-slot", getChosenSlot()));
|
||||
setChosenSlot(src->get("chosen-slot", getChosenSlot()));
|
||||
|
||||
auto invmap = src->map("inventory");
|
||||
if (invmap) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue