summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-10-26 21:12:30 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-10-26 21:12:30 +0100
commit31db77bab3ef8cd3f63fe1e30d301d9dd944c964 (patch)
tree3abfff56ad6dd1da287974cad1e09de20a914a2d
parent62fc9bcb7f3b5f459f4f01b34a9e693b86717794 (diff)
increase mob area check to 32
-rw-r--r--api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index 0b30201..fdb96a7 100644
--- a/api.lua
+++ b/api.lua
@@ -1,5 +1,5 @@
--- Mobs Api (22nd October 2016)
+-- Mobs Api (26th October 2016)
mobs = {}
mobs.mod = "redo"
@@ -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, 20)
+ local objs = minetest.get_objects_inside_radius(pos, 32)
for n = 1, #objs do