From 3969f1a19836300e723c1bf379f3df6ddfc77989 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 31 Jan 2017 11:53:40 -0500 Subject: [PATCH] disable sleeping due to crashing inside minetest_game --- homedecor/bedroom.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/homedecor/bedroom.lua b/homedecor/bedroom.lua index 0aa3df4..92e0bc5 100644 --- a/homedecor/bedroom.lua +++ b/homedecor/bedroom.lua @@ -68,9 +68,9 @@ homedecor.register("bed_regular", { homedecor.bed_expansion(pos, clicker, itemstack, pointed_thing, true) return itemstack else - if minetest.get_modpath("beds") then - beds.on_rightclick(pos, clicker) - end +-- if minetest.get_modpath("beds") then +-- beds.on_rightclick(pos, clicker) +-- end return itemstack end end @@ -103,9 +103,9 @@ homedecor.register("bed_extended", { unifieddyes.on_rightclick(pos, node, clicker, itemstack, pointed_thing, "homedecor:bed_extended", "wallmounted") else - if minetest.get_modpath("beds") then - beds.on_rightclick(pos, clicker) - end +-- if minetest.get_modpath("beds") then +-- beds.on_rightclick(pos, clicker) +-- end return itemstack end end, @@ -146,9 +146,9 @@ homedecor.register("bed_kingsize", { unifieddyes.on_rightclick(pos, node, clicker, itemstack, pointed_thing, "homedecor:bed_kingsize", "wallmounted") else - if minetest.get_modpath("beds") then - beds.on_rightclick(pos, clicker) - end +-- if minetest.get_modpath("beds") then +-- beds.on_rightclick(pos, clicker) +-- end return itemstack end end