mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
Wood lights fix + player position loading fix
This commit is contained in:
parent
6a20258704
commit
105b8058e6
3 changed files with 37 additions and 51 deletions
|
|
@ -389,6 +389,7 @@ bool WorldFiles::readPlayer(Player* player) {
|
|||
position.x = posarr->num(0);
|
||||
position.y = posarr->num(1);
|
||||
position.z = posarr->num(2);
|
||||
player->camera->position = position;
|
||||
|
||||
json::JArray* rotarr = root->arr("rotation");
|
||||
player->camX = rotarr->num(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue