forked from mtcontrib/homedecor_modpack
disable sleeping due to crashing inside minetest_game
This commit is contained in:
parent
7623b39a33
commit
3969f1a198
@ -68,9 +68,9 @@ homedecor.register("bed_regular", {
|
|||||||
homedecor.bed_expansion(pos, clicker, itemstack, pointed_thing, true)
|
homedecor.bed_expansion(pos, clicker, itemstack, pointed_thing, true)
|
||||||
return itemstack
|
return itemstack
|
||||||
else
|
else
|
||||||
if minetest.get_modpath("beds") then
|
-- if minetest.get_modpath("beds") then
|
||||||
beds.on_rightclick(pos, clicker)
|
-- beds.on_rightclick(pos, clicker)
|
||||||
end
|
-- end
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -103,9 +103,9 @@ homedecor.register("bed_extended", {
|
|||||||
unifieddyes.on_rightclick(pos, node, clicker,
|
unifieddyes.on_rightclick(pos, node, clicker,
|
||||||
itemstack, pointed_thing, "homedecor:bed_extended", "wallmounted")
|
itemstack, pointed_thing, "homedecor:bed_extended", "wallmounted")
|
||||||
else
|
else
|
||||||
if minetest.get_modpath("beds") then
|
-- if minetest.get_modpath("beds") then
|
||||||
beds.on_rightclick(pos, clicker)
|
-- beds.on_rightclick(pos, clicker)
|
||||||
end
|
-- end
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
@ -146,9 +146,9 @@ homedecor.register("bed_kingsize", {
|
|||||||
unifieddyes.on_rightclick(pos, node, clicker,
|
unifieddyes.on_rightclick(pos, node, clicker,
|
||||||
itemstack, pointed_thing, "homedecor:bed_kingsize", "wallmounted")
|
itemstack, pointed_thing, "homedecor:bed_kingsize", "wallmounted")
|
||||||
else
|
else
|
||||||
if minetest.get_modpath("beds") then
|
-- if minetest.get_modpath("beds") then
|
||||||
beds.on_rightclick(pos, clicker)
|
-- beds.on_rightclick(pos, clicker)
|
||||||
end
|
-- end
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user