1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-10-02 01:10:31 +02: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