mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
Update mods/beds/functions.lua
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
14537f34f6
commit
0a05ae54a7
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ local function lay_down(player, pos, bed_pos, state, skip)
|
|||
y = bed_pos.y + 0.07,
|
||||
z = bed_pos.z + dir.z / 2
|
||||
}
|
||||
player:set_physics_override({speed = 0, jump=0, gravity=0})
|
||||
player:set_physics_override({speed = 0, jump = 0, gravity = 0})
|
||||
player:set_pos(p)
|
||||
player_api.player_attached[name] = true
|
||||
hud_flags.wielditem = false
|
||||
|
|
Loading…
Add table
Reference in a new issue