diff --git a/mods/beds/functions.lua b/mods/beds/functions.lua index fa88680f..ddac52be 100644 --- a/mods/beds/functions.lua +++ b/mods/beds/functions.lua @@ -101,7 +101,7 @@ local function lay_down(player, pos, bed_pos, state, skip) minetest.chat_send_player(name, S("You have to stop moving before going to bed!")) return false end - + -- Check if player is attached to an object if player:get_attach() then return false