Bugfix and remove debug information

master
PilzAdam 2012-09-16 16:10:03 +02:00
parent 4151fe2622
commit 50f8a8f7d7
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ function mobs:register_monster(name, def)
light_resistant = def.light_resistant, light_resistant = def.light_resistant,
drop = def.drop, drop = def.drop,
drop_count = def.drop_count, drop_count = def.drop_count,
armor = def.armor. armor = def.armor,
timer = 0, timer = 0,
attack = {player=nil, dist=nil}, attack = {player=nil, dist=nil},
@ -370,7 +370,7 @@ function mobs:register_spawn(name, nodes, max_light)
return return
end end
end end
minetest.chat_send_all("[mobs] Add "..name.." at "..minetest.pos_to_string(pos)) --minetest.chat_send_all("[mobs] Add "..name.." at "..minetest.pos_to_string(pos))
minetest.env:add_entity(pos, name) minetest.env:add_entity(pos, name)
end end
}) })