mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-09-12 08:08:30 +02: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 = {}
|
||||
for i,item in ipairs(list) do
|
||||
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)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user