From 239a95a393bd908e83c5de2f196d4f9e01325fd4 Mon Sep 17 00:00:00 2001 From: sapier Date: Fri, 2 May 2014 20:05:29 +0200 Subject: [PATCH] Fix crash due to changed debug output --- mobf/spawning.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobf/spawning.lua b/mobf/spawning.lua index 19f7c3d..4fed448 100644 --- a/mobf/spawning.lua +++ b/mobf/spawning.lua @@ -827,6 +827,8 @@ function spawning.check_activation_overlap(entity,pos,preserved_data) " originaly spawned by: " .. spawner .. " --> removing") + objectlist = minetest.get_objects_inside_radius(pos,0.25) + for i=1,#objectlist,1 do local luaentity = objectlist[i]:get_luaentity() if luaentity ~= nil then