From 50f8a8f7d7af57d6ebfbc6aa1e2d51e74e9bcab8 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Sun, 16 Sep 2012 16:10:03 +0200 Subject: [PATCH] Bugfix and remove debug information --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 8014041..66132aa 100644 --- a/init.lua +++ b/init.lua @@ -15,7 +15,7 @@ function mobs:register_monster(name, def) light_resistant = def.light_resistant, drop = def.drop, drop_count = def.drop_count, - armor = def.armor. + armor = def.armor, timer = 0, attack = {player=nil, dist=nil}, @@ -370,7 +370,7 @@ function mobs:register_spawn(name, nodes, max_light) return 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) end })