spawn point fix
This commit is contained in:
parent
3f77bd91d3
commit
04ab2839a1
@ -142,7 +142,7 @@ void Player::attemptToFindSpawnpoint(Level* level) {
|
||||
if (level->chunks->isObstacleBlock(newpos.x, newpos.y, newpos.z) ||
|
||||
headvox == nullptr || headvox->id != 0)
|
||||
return;
|
||||
spawnpoint = newpos;
|
||||
spawnpoint = newpos + glm::vec3(0.5f, 0.0f, 0.5f);
|
||||
teleport(spawnpoint);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user