mirror of
https://github.com/MinetestForFun/fishing.git
synced 2025-01-09 02:30:15 +01:00
Check for mithril ingot even when moreores doesn't exist
This commit is contained in:
parent
f6c7bbe4fd
commit
e3e5864366
@ -45,7 +45,8 @@ if minetest.get_modpath("ropes") ~= nil then
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Mithril Fishing Pole
|
-- Mithril Fishing Pole
|
||||||
if minetest.get_modpath("moreores") ~= nil and minetest.get_modpath("mobs") ~= nil then
|
-- Some subgames have bundled all of moreores' content in their default mod; just check for mithril
|
||||||
|
if (minetest.get_modpath("moreores") ~= nil or minetest.registered_items["default:mithril_ingot"]) and minetest.get_modpath("mobs") ~= nil then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "fishing:pole_perfect",
|
output = "fishing:pole_perfect",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
Loading…
Reference in New Issue
Block a user