From 3669ca0a8355a56bd6a519ccd35f7b526fa11c76 Mon Sep 17 00:00:00 2001 From: Novatux Date: Thu, 14 May 2015 14:41:26 +0200 Subject: [PATCH] Make beds not skip night if nobody is online --- mods/beds/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/beds/functions.lua b/mods/beds/functions.lua index 8cb28483..4c5c7d16 100644 --- a/mods/beds/functions.lua +++ b/mods/beds/functions.lua @@ -34,7 +34,7 @@ local function check_in_beds(players) end end - return true + return #players > 0 end local function lay_down(player, pos, bed_pos, state, skip) -- 2.25.1