From: mbartlett21 <29034492+mbartlett21@users.noreply.github.com> Date: Fri, 6 Sep 2019 20:39:23 +0000 (+1000) Subject: Xpanes: Use 'swap node' instead of 'set node' X-Git-Tag: 5.1.0~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d99a176b693b7c5bdd9fa9bb2d426499d2128c89;p=oweals%2Fminetest_game.git Xpanes: Use 'swap node' instead of 'set node' --- 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)