Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
Check for mithril ingot even when moreores doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymkwi committed Jun 3, 2016
1 parent f6c7bbe commit e3e5864
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crafting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ if minetest.get_modpath("ropes") ~= nil then
end

-- 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({
output = "fishing:pole_perfect",
recipe = {
Expand Down

0 comments on commit e3e5864

Please sign in to comment.