Skip to content

Commit

Permalink
Xpanes: Use 'swap node' instead of 'set node'
Browse files Browse the repository at this point in the history
mbartlett21 authored and paramat committed Sep 6, 2019
1 parent 7e16ec7 commit d99a176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/xpanes/init.lua
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit d99a176

Please sign in to comment.