Correct mobs name.

This commit is contained in:
Duane 2016-07-16 05:32:51 -05:00
parent 89627afc78
commit 812dcca7b9
3 changed files with 3 additions and 3 deletions

View file

@ -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 .. "/elixir.lua") -- must go after all items are registered
dofile(fun_caves.path .. "/chat.lua") 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") dofile(fun_caves.path .. "/mobs.lua")
end end

View file

@ -275,7 +275,7 @@ minetest.register_craftitem("fun_caves:apple_pie_uncooked", {
inventory_image = "fun_caves_apple_pie_uncooked.png", 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({ minetest.register_craft({
output = 'fun_caves:apple_pie_uncooked', output = 'fun_caves:apple_pie_uncooked',
type = 'shapeless', type = 'shapeless',

View file

@ -5,7 +5,7 @@ minetest.register_node("fun_caves:hut_floor", newnode)
local farming = minetest.get_modpath('farming') 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 = { local drops = {
{name = "default:axe_stone", chance = 3, min = 1, max = 1}, {name = "default:axe_stone", chance = 3, min = 1, max = 1},
{name = "default:hoe_stone", chance = 3, min = 1, max = 1}, {name = "default:hoe_stone", chance = 3, min = 1, max = 1},