Minor cleaning
This commit is contained in:
parent
6219c2f64e
commit
d3ad413876
|
@ -443,10 +443,8 @@ local function craft_stack(player, data, craft_rcp)
|
||||||
end
|
end
|
||||||
|
|
||||||
if rcp_def.replacements then
|
if rcp_def.replacements then
|
||||||
for _, v in ipairs(rcp_def.replacements) do
|
for _, pair in ipairs(rcp_def.replacements) do
|
||||||
for _, item2 in ipairs(v) do
|
get_stack(player, ItemStack(pair[2]))
|
||||||
get_stack(player, ItemStack(item2))
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue