Skip to content
Permalink
Browse files

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

  • Loading branch information...
mbartlett21 authored and paramat committed Sep 6, 2019
1 parent 7e16ec7 commit d99a176b693b7c5bdd9fa9bb2d426499d2128c89
Showing with 1 addition and 1 deletion.
  1. +1 −1 mods/xpanes/init.lua
@@ -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.
You can’t perform that action at this time.