mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-05 07:13:52 +01:00
Xpanes: Use 'swap node' instead of 'set node'
This commit is contained in:
parent
7e16ec7a2f
commit
d99a176b69
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user