From 5caa4b365946cb5b2b2a9c2de608da40ec94c0d7 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 24 Mar 2019 09:07:42 +0100 Subject: [PATCH] Fix bed help WRT Minetest settings --- mods/ITEMS/mcl_beds/api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_beds/api.lua b/mods/ITEMS/mcl_beds/api.lua index 777fa22255..39a80e316f 100644 --- a/mods/ITEMS/mcl_beds/api.lua +++ b/mods/ITEMS/mcl_beds/api.lua @@ -35,12 +35,12 @@ end local beddesc = S("Beds allow you to sleep at night and make the time pass faster.") local beduse = S("To use a bed, stand close to it and right-click the bed to sleep in it. Sleeping only works when the sun sets, at night or during a thunderstorm. The bed must also be clear of any danger.") -if true or minetest.settings:get_bool("enable_bed_respawn") == false then +if minetest.settings:get_bool("enable_bed_respawn") == false then beddesc = beddesc .. "\n" .. S("You have heard of other worlds in which a bed would set the start point for your next life. But this world is not one of them.") else beddesc = beddesc .. "\n" .. S("By using a bed, you set the starting point for your next life. If you die, you will start your next life at this bed, unless it is obstructed or destroyed.") end -if true or minetest.settings:get_bool("enable_bed_night_skip") == false then +if minetest.settings:get_bool("enable_bed_night_skip") == false then beddesc = beddesc .. "\n" .. S("In this world, going to bed won't skip the night, but it will skip thunderstorms.") else beddesc = beddesc .. "\n" .. S("Sleeping allows you to skip the night. The night is skipped when all players in this world went to sleep. The night is skipped after sleeping for a few seconds. Thunderstorms can be skipped in the same manner.")