1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-19 16:50:31 +01:00

add test if ropes mod is installed for craft fishing:pole with ropes:rope

This commit is contained in:
crabman77 2015-02-24 23:42:31 +01:00
parent 342f99f23c
commit 6243ec7e50

View File

@ -29,7 +29,7 @@ minetest.register_craft({
{"default:stick", "", "moreblocks:rope"},
}
})
if minetest.get_modpath("ropes") ~= nil then
minetest.register_craft({
output = "fishing:pole",
recipe = {
@ -38,7 +38,7 @@ minetest.register_craft({
{"default:stick", "", "ropes:rope" },
}
})
end
-----------------------------------------------------------------------------------------------
-- Roasted Fish