From 524b3343bd37ba12e06a2fa04cd67e40fc1137b5 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Fri, 26 Feb 2021 09:19:11 +0100 Subject: [PATCH] Fix #1200 --- mods/ITEMS/mcl_beds/functions.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ITEMS/mcl_beds/functions.lua b/mods/ITEMS/mcl_beds/functions.lua index 8b1b82dfcb..33c38c6cb6 100644 --- a/mods/ITEMS/mcl_beds/functions.lua +++ b/mods/ITEMS/mcl_beds/functions.lua @@ -358,6 +358,7 @@ minetest.register_on_joinplayer(function(player) end) minetest.register_on_leaveplayer(function(player) + lay_down(player, nil, nil, false, true) local players = minetest.get_connected_players() local name = player:get_player_name() for n, player in ipairs(players) do