Fix chest boat crafting recipe
This commit is contained in:
parent
6b77163162
commit
eef47e508b
|
@ -504,13 +504,22 @@ for b=1, #boat_ids do
|
||||||
})
|
})
|
||||||
|
|
||||||
local c = craftstuffs[b]
|
local c = craftstuffs[b]
|
||||||
minetest.register_craft({
|
if not itemstring:find("chest") then
|
||||||
output = itemstring,
|
minetest.register_craft({
|
||||||
recipe = {
|
output = itemstring:gsub(":boat",":chest_boat"),
|
||||||
{c, "", c},
|
recipe = {
|
||||||
{c, c, c},
|
{"mcl_chests:chest"},
|
||||||
},
|
{itemstring},
|
||||||
})
|
},
|
||||||
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
output = itemstring,
|
||||||
|
recipe = {
|
||||||
|
{c, "", c},
|
||||||
|
{c, c, c},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user