mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
nodes.lua: fix shadowing definition of loop variable i on line 22
This commit is contained in:
parent
3ac0fa14f9
commit
05eaf01912
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ function worldeditadditions.unwind_node_list(list)
|
||||||
local result = {}
|
local result = {}
|
||||||
for i,item in ipairs(list) do
|
for i,item in ipairs(list) do
|
||||||
local node_id = minetest.get_content_id(item.node)
|
local node_id = minetest.get_content_id(item.node)
|
||||||
for i = 1, item.weight do
|
for _i = 1, item.weight do
|
||||||
table.insert(result, node_id)
|
table.insert(result, node_id)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue