mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-10-31 01:25:34 +01:00 
			
		
		
		
	disable sleeping due to crashing inside minetest_game
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user