Fix chest boat crafting recipe

This commit is contained in:
cora 2022-09-24 05:34:06 +02:00
parent 6b77163162
commit eef47e508b
1 changed files with 16 additions and 7 deletions

View File

@ -504,6 +504,14 @@ for b=1, #boat_ids do
}) })
local c = craftstuffs[b] local c = craftstuffs[b]
if not itemstring:find("chest") then
minetest.register_craft({
output = itemstring:gsub(":boat",":chest_boat"),
recipe = {
{"mcl_chests:chest"},
{itemstring},
},
})
minetest.register_craft({ minetest.register_craft({
output = itemstring, output = itemstring,
recipe = { recipe = {
@ -512,6 +520,7 @@ for b=1, #boat_ids do
}, },
}) })
end end
end
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",