forked from mtcontrib/mobs_redo
increase mob check area
This commit is contained in:
parent
e592c18af6
commit
62fc9bcb7f
2
api.lua
2
api.lua
@ -2407,7 +2407,7 @@ end -- END mobs:register_mob function
|
|||||||
local count_mobs = function(pos, type)
|
local count_mobs = function(pos, type)
|
||||||
|
|
||||||
local num = 0
|
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
|
for n = 1, #objs do
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user