Extra error checking: global variables
This commit is contained in:
parent
bf26b8bee1
commit
1648bc459f
17 changed files with 362 additions and 323 deletions
8
mobs.lua
8
mobs.lua
|
@ -819,9 +819,11 @@ if minetest.registered_entities["mobs_sharks:shark_lg"] then
|
|||
mobs:register_egg("fun_caves:shark_md", "Shark (giant)", "mob_shark_shark_item.png", 0)
|
||||
end
|
||||
|
||||
dofile(fun_caves.path.."/zombie.lua")
|
||||
dofile(fun_caves.path.."/goblin.lua")
|
||||
dofile(fun_caves.path.."/demon.lua")
|
||||
if fun_caves.path then
|
||||
dofile(fun_caves.path.."/zombie.lua")
|
||||
dofile(fun_caves.path.."/goblin.lua")
|
||||
dofile(fun_caves.path.."/demon.lua")
|
||||
end
|
||||
|
||||
fun_caves.fortress_spawns = {}
|
||||
local t_mobs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue