diff --git a/mods/ITEMS/mcl_beds/functions.lua b/mods/ITEMS/mcl_beds/functions.lua index b8478fc1..cafcda76 100644 --- a/mods/ITEMS/mcl_beds/functions.lua +++ b/mods/ITEMS/mcl_beds/functions.lua @@ -83,11 +83,11 @@ local function lay_down(player, pos, bed_pos, state, skip) return false, S("You can't sleep, the bed's too far away!") end - for _, other_pos in pairs(mcl_beds.bed_pos) do + --[[for _, other_pos in pairs(mcl_beds.bed_pos) do if vector.distance(bed_pos2, other_pos) < 0.1 then return false, S("This bed is already occupied!") end - end + end]] -- No sleeping while moving. Slightly different behaviour than in MC. -- FIXME: Velocity threshold should be 0.01 but Minetest 5.3.0