From 784ba2e68ca534b4355ecc26509e53c214f13977 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 16 Feb 2017 17:05:50 -0500 Subject: update several mods and add a few updated: blox, bobblocks, castle, homedecor, coloredwood, ilights, stainedglass, unifiedbricks added: cheapie's rgblightstone, digistuff, unifiedmesecons, and solidcolor --- homedecor/handlers/expansion.lua | 9 --------- 1 file changed, 9 deletions(-) (limited to 'homedecor/handlers') diff --git a/homedecor/handlers/expansion.lua b/homedecor/handlers/expansion.lua index 13c69f9..17d6d31 100644 --- a/homedecor/handlers/expansion.lua +++ b/homedecor/handlers/expansion.lua @@ -230,18 +230,9 @@ function homedecor.bed_expansion(pos, placer, itemstack, pointed_thing, trybunks end local toppos = {x=pos.x, y=pos.y+1.0, z=pos.z} - local botpos = {x=pos.x, y=pos.y-1.0, z=pos.z} - local topposfwd = {x=toppos.x+fxd, y=toppos.y, z=toppos.z+fzd} - local topnodefwd = minetest.get_node(topposfwd) - - local topnode = minetest.get_node(toppos) - local bottomnode = minetest.get_node(botpos) - - print(topnode.name, thisnode.name, bottomnode.name, itemstack:get_name(), dump(trybunks)) if trybunks and is_buildable_to(placer_name, toppos, topposfwd) then - print("want to stack beds, top seems to be clear") local newname = string.gsub(thisnode.name, "_regular", "_extended") minetest.set_node(toppos, { name = thisnode.name, param2 = fdir}) minetest.set_node(pos, { name = newname, param2 = fdir}) -- cgit v1.2.3