mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-09 00:43:48 +01:00
nodes.lua: fix shadowing definition of loop variable i on line 22
This commit is contained in:
parent
3ac0fa14f9
commit
05eaf01912
@ -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 New Issue
Block a user