mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
Fix
This commit is contained in:
parent
cc367ee206
commit
f0153eb51e
7 changed files with 76 additions and 67 deletions
|
|
@ -104,8 +104,7 @@ std::shared_ptr<UINode> create_debug_panel(
|
|||
glm::vec3 position = player->hitbox->position;
|
||||
position[ax] = std::stoi(text);
|
||||
player->teleport(position);
|
||||
} catch (std::invalid_argument& _){
|
||||
} catch (std::out_of_range & _) {
|
||||
} catch (std::exception& _){
|
||||
}
|
||||
});
|
||||
box->setOnEditStart([=](){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue