mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-12 10:50:21 +01:00
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