mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-24 02:12:25 +01:00
ipairs to pairs
This commit is contained in:
parent
b141f7c0a4
commit
95653a0676
@ -339,7 +339,7 @@ function minetest.handle_node_drops(pos, drops, digger)
|
||||
end
|
||||
|
||||
if simple_drop then
|
||||
for _, item in ipairs(simple_drop) do
|
||||
for _, item in pairs(simple_drop) do
|
||||
table.insert(drops, item)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user