diff --git a/init.lua b/init.lua index 2d9c823..8c49220 100644 --- a/init.lua +++ b/init.lua @@ -190,7 +190,7 @@ dofile(fun_caves.path .. "/spec_bomb.lua") dofile(fun_caves.path .. "/elixir.lua") -- must go after all items are registered dofile(fun_caves.path .. "/chat.lua") -if minetest.get_modpath("mobs_redo") and mobs and mobs.mod == "redo" then +if minetest.get_modpath("mobs") and mobs and mobs.mod == "redo" then dofile(fun_caves.path .. "/mobs.lua") end diff --git a/nodes.lua b/nodes.lua index 3794e03..39905a5 100644 --- a/nodes.lua +++ b/nodes.lua @@ -275,7 +275,7 @@ minetest.register_craftitem("fun_caves:apple_pie_uncooked", { inventory_image = "fun_caves_apple_pie_uncooked.png", }) -if minetest.get_modpath("mobs_redo") and mobs and mobs.mod == "redo" then +if minetest.get_modpath("mobs") and mobs and mobs.mod == "redo" then minetest.register_craft({ output = 'fun_caves:apple_pie_uncooked', type = 'shapeless', diff --git a/village.lua b/village.lua index 35a924c..f964f91 100644 --- a/village.lua +++ b/village.lua @@ -5,7 +5,7 @@ minetest.register_node("fun_caves:hut_floor", newnode) local farming = minetest.get_modpath('farming') -if minetest.get_modpath("mobs_redo") and mobs and mobs.mod == "redo" then +if minetest.get_modpath("mobs") and mobs and mobs.mod == "redo" then local drops = { {name = "default:axe_stone", chance = 3, min = 1, max = 1}, {name = "default:hoe_stone", chance = 3, min = 1, max = 1},