Xpanes: Use 'swap node' instead of 'set node'

This commit is contained in:
mbartlett21 2019-09-07 06:39:23 +10:00 committed by Paramat
parent 7e16ec7a2f
commit d99a176b69

@ -27,7 +27,7 @@ local function swap(pos, node, name, param2)
return
end
minetest.set_node(pos, {name = name, param2 = param2})
minetest.swap_node(pos, {name = name, param2 = param2})
end
local function update_pane(pos)