Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Xpanes: Use 'swap node' instead of 'set node'
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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) |
|
|