1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-15 04:10:18 +02:00
This commit is contained in:
jp
2015-03-05 23:10:27 +01:00
parent db703e555d
commit dca81b1648
8 changed files with 41 additions and 354 deletions

View File

@ -110,7 +110,7 @@ minetest.register_abm({
action = function(pos, node, active_object_count, active_object_count_wider)
local newnode = string.sub(node.name, 1, -3) -- strip the "_s" from the name
local fdir = node.param2 or 0
minetest.add_node(pos, {name = newnode, param2 = dirs2[fdir+1]})
minetest.set_node(pos, {name = newnode, param2 = dirs2[fdir+1]})
end
})