mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-15 04:10:18 +02:00
Clean-up
This commit is contained in:
@ -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
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user