summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-10-23 17:55:57 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-10-23 17:55:57 +0100
commit62fc9bcb7f3b5f459f4f01b34a9e693b86717794 (patch)
tree24ffdd6023ee5d6152f2d0a024bb8205e3b53372
parente592c18af6c945f771f9dbcd2f2e5ef3caf18319 (diff)
increase mob check area
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index e1cadcc..0b30201 100644
--- a/api.lua
+++ b/api.lua
@@ -2407,7 +2407,7 @@ end -- END mobs:register_mob function
local count_mobs = function(pos, type)
local num = 0
- local objs = minetest.get_objects_inside_radius(pos, 16)
+ local objs = minetest.get_objects_inside_radius(pos, 20)
for n = 1, #objs do