From d99a176b693b7c5bdd9fa9bb2d426499d2128c89 Mon Sep 17 00:00:00 2001 From: mbartlett21 <29034492+mbartlett21@users.noreply.github.com> Date: Sat, 7 Sep 2019 06:39:23 +1000 Subject: [PATCH] Xpanes: Use 'swap node' instead of 'set node' --- mods/xpanes/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/xpanes/init.lua b/mods/xpanes/init.lua index 653c8cd9..ed68e0af 100644 --- a/mods/xpanes/init.lua +++ b/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) -- 2.25.1