mirror of
https://github.com/minetest-mods/i3.git
synced 2025-01-12 19:20:30 +01:00
Minor cleaning
This commit is contained in:
parent
6219c2f64e
commit
d3ad413876
@ -443,10 +443,8 @@ local function craft_stack(player, data, craft_rcp)
|
||||
end
|
||||
|
||||
if rcp_def.replacements then
|
||||
for _, v in ipairs(rcp_def.replacements) do
|
||||
for _, item2 in ipairs(v) do
|
||||
get_stack(player, ItemStack(item2))
|
||||
end
|
||||
for _, pair in ipairs(rcp_def.replacements) do
|
||||
get_stack(player, ItemStack(pair[2]))
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user