mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
Merge branch 'main' into heightmaps
This commit is contained in:
commit
073ef11cfa
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ void Player::postUpdate() {
|
||||||
auto& hitbox = entity->getRigidbody().hitbox;
|
auto& hitbox = entity->getRigidbody().hitbox;
|
||||||
position = hitbox.position;
|
position = hitbox.position;
|
||||||
|
|
||||||
if (flight && hitbox.grounded) {
|
if (flight && hitbox.grounded && !noclip) {
|
||||||
flight = false;
|
flight = false;
|
||||||
}
|
}
|
||||||
if (spawnpoint.y <= 0.1) {
|
if (spawnpoint.y <= 0.1) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue