forked from minetest/minetest_game
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